Android State Versions Save

A utility library for Android to save objects in a Bundle without any boilerplate.

v1.4.1

5 years ago
  • Remove Android dependency from processor, this resolves problems with the Jetifier, see #56

v1.4.0

5 years ago
  • Migrated dependencies to AndroidX
  • Sort elements by name to make processor deterministic, see #57 (Thanks @DSteve595)
  • Fix compile error with generic inner classes and kapt, see #54 (Thanks @janbina)

v1.3.1

5 years ago
  • Avoid obfuscating the class name if the class contains a field annotated with @State, see #43
  • Don't use the serializable type for parcelable arrays, see #53

v1.3.0

5 years ago
  • Support incremental annotation processing, see #48
  • Omit the type for private inner classes when using reflection, see #44

v1.2.1

6 years ago
  • Fix an issue with kapt where a class cannot be found, see #42
  • Fix problems with the Proguard rules and allow better obfuscation, see #43

v1.2.0

6 years ago
  • Add the option to automatically save the instance state of all activities and fragments from the support library
public class App extends Application {
    @Override
    public void onCreate() {
        super.onCreate();
        StateSaver.setEnabledForAllActivitiesAndSupportFragments(this, true);
    }
}
  • Support Kotlin in Lint checks

v1.1.6

6 years ago
  • Don't crash when the license header file cannot be read, see #35

v1.1.5

6 years ago
  • Handle generics in bundlers properly, see #32

v1.1.4

6 years ago
  • Add a small optimization, if the object doesn't contain any state variable, see #31
  • Fix potential ClassCastException, see #30
  • Serialize ArrayList if it contains Serializable elements, see #29

v1.1.3

6 years ago
  • Fix wrong handling of properties in Kotlin in Hungarian notation, see #26