A utility library for Android to save objects in a Bundle without any boilerplate. It uses an annotation processor to wire up all dependencies. It's recommended to turn on a global setting in your Application class to save and restore the instance state of all activities and fragments from the support library. After that you only need to annotate your fields with @State inside of your fragments and activities. You can save any type which can be saved in a Bundle like the String, Serializable, and Parcelable data structures.
Features
- You can save state in a View class
- Documentation available
- Examples available
- The library comes with Lint rules to verify a correct usage of the library
- This library comes with a ProGuard config
- Download the latest library and processor or grab via Gradle
Categories
LibrariesLicense
Eclipse Public LicenseFollow Android-State
Other Useful Business Software
Ship Agents Faster
Gemini Enterprise Agent Platform lets you rapidly build, scale, govern and optimize production-ready agents grounded in your organization's data. The platform enables developers to build custom or pre-built agents for virtually any use case. New customers get $300 in free credits.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Android-State!