sirmmo/Android-ClassContentProvider
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Usage: - import the JAR file of the application - Create class that extends ClassContentProvider - Prepare your model -- Annotate the classes with both @Table and @Authority -- Annotate the fields with @Column and the primarykey fields with @PrimaryKey. If the field is integer and primarykey you can add @Autoincrement. - in constructor invoke provideClass for every type of resource you want to expose with the provider. And it should be done! :)
About
Reflection based ContentProvider implementation for a simpler development of datadriven apps
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published