Introduction to xUtils xUtils was originally derived from the Afinal framework, and has undergone a lot of refactoring, making xUtils support large file uploads, more comprehensive http request protocol support (10 predicates), more flexible ORM, more event annotation support and not affected by confusion... xUtils is compatible with Android 2.2 (API level 8). Currently xUtils has four main modules: DbUtils Module The orm framework in android can add, delete, modify and check with one line of code; Support transactions, closed by default; You can customize table names, column names, foreign keys, unique constraints, NOT NULL constraints, CHECK constraints, etc. through annotations (please annotate table names and column names when confusion is required); Supports binding foreign keys. When saving an entity, the foreign key-associated entity is automatically saved or updated. ViewUtils Module The IOC framework in Android can perform UI, resource and event binding completely through annotations; New event binding method, which can still work normally after being obfuscated by obfuscation tools; HttpUtils Module Support synchronous and asynchronous requests; Support large file upload, no OOM when uploading large files; Support GET, POST, PUT, MOVE, COPY, DELETE, HEAD, OPTIONS, TRACE, CONNECT requests; BitmapUtils Module
2. How to use DbUtils
|
<<: Let’s talk about overcalculation! Is your calculation method overcalculated?
>>: iOS 9 new features revealed, artificial intelligence becomes another highlight
Why do we look almost symmetrical on both sides, ...
People often say "a glass of wine a day, liv...
Starting with the e-tron, Audi's first electr...
[[184787]] This article introduces the method of ...
【51CTO.com original article】 Use craftsmanship to...
Huawei has just released the P7, which is still eq...
For many foreign trade people, video marketing is...
Last week, we launched the special topic "Sm...
In the blink of an eye, it is the end of 2017 aga...
On New Year's Day 2022, the National Space Ad...
Course Catalog: ├──01 Can you really sell anythin...
When developing an APP, we must first understand ...
via: PingWest [[126071]] Apple seems very satisfi...
Each Android Application is composed of basic And...
Introduction to College Entrance Examination [WeC...