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

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

Eclipse Public License

Follow Android-State

Android-State Web Site

Other Useful Business Software
Forever Free Full-Stack Observability | Grafana Cloud Icon
Forever Free Full-Stack Observability | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Android-State!

Additional Project Details

Operating Systems

Android

Programming Language

Kotlin

Related Categories

Kotlin Libraries

Registered

2024-02-06