Whether it is eclipse or using android studio to develop Android projects, this method can be used
1. New project.
2. Import litepal-2.0.0.jar. LiteParSupport is only available after version 2.0.
Note that users using Android studio only need to configure the file:
dependencies {
implementation 'org.litepal.android:core:2.0.0'
}
eclipse needs to download the jar package. Click here to download the jar package
3. Create a new liteper.xml file, and configure the liteper.xml attribute, the picture is detailed:
4. Register Litepar in the AndroidManifest.xml soul file
5. New entity class inherits liteparSupport 6. New entity class is
only available Add, delete, modify and check methods in LiteSupport.
Thank you for your support, if you want to understand the software industry, let's work hard together, and strive to add wei: zzaizhangzeng