When we write an Android program, a lot of repetitive work will occur, and the dhroid framework will solve this problem well.
Dhroid is a fast development framework based on the android platform. Its core design goal is rapid development, less code, simple learning, powerful functions, lightweight, and easy to expand. allows you to develop business-level applications faster and better.
Dhroid currently contains six components for your use.
1. Ioc container: View injection, object injection, interface injection, and solution to class dependency
2. Eventbus: The Event bus framework of the android platform. It provides original delayed events and easy event management.
3. Dhnet: Network http request solution. It is easy to use and reduces code. It comes with multiple network access cache policies.
4. adapter module: easy to bind data, no need to write redundant adapters, inherent network support (loading and refresh with a line of code)
5. DhDb: The most lightweight orm framework of sqlite in android (easy to handle with addition, deletion, modification, and query)
6. Perference: android comes with an upgraded Perference version, which makes your Perference more powerful and convenient.
Tool Set JSONUtil (secure processing json), ViewUtil (faster data binding) ThreadWorker (asynchronous task tool )...
IOC container usage
How to Use EventBusHow to Use Dhnet
How to Use the adapterHow to Use DhDbPerference usageReference: callback
If you have any questions, please leave a message and repeat the source