icepick
icepick copied to clipboard
Android Instance State made easy
# problem 「Developer options: ON> Dont keep activities: ON」, when re-generating Activity, instance state value can not be obtained in Icepick.restoreInstanceState # Operating 1. Device setting: 「Developer options: ON> Dont...
I get an error "java.lang.ClassCastException" when restoring activity. `@State LinkedHashMap dropsMap;` > Process: com.com.com, PID: 13985 java.lang.RuntimeException: Unable to start activity ComponentInfo{com.com.com/com.com.com.CalculatorActivity}: java.lang.ClassCastException: java.util.HashMap cannot be cast to java.util.LinkedHashMap at...
Process 'command 'C:\Program Files\Android\Android Studio\jre\bin\java.exe'' finished with non-zero exit value 1 this error in our app ?
hello this was working when i used it before but now its showing this error please help ----------- user variable path - C:\Program Files\Java\jdk1.8.0_161\bin;C:\Users\SUYASH\AppData\Roaming\npm system variable path - C:\Program Files\Java\jdk1.8.0_161\bin;C:\Program...
Gradle 4.7 provides support for incremental annotation processing. https://docs.gradle.org/nightly/userguide/java_plugin.html#sec:incremental_annotation_processing It would be nice to see icepick supporting it. The change is not that big as IcePick is an isolating AP,...
Add functionality for adding custom strategy for restoring some specific fields. It can be very useful when: - You wanna add nontrivial logic for new and old value. (e.g. while...
If use the following rule, it will be crashed on Android 4.4: ` -dontwarn icepick.** -keep class icepick.** { *; } -keep class **$$Icepick { *; } -keepclasseswithmembernames class *...
$ ./gradlew bootRun :compileJava UP-TO-DATE :processResources UP-TO-DATE :classes UP-TO-DATE :bootRun . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ (...
https://stackoverflow.com/questions/44493378/whats-the-difference-between-implementation-and-compile-in-gradle#44493379
**Problem** Some objects whose state should be saved are constructed by other library. For instance, `GoogleMap`. Thus `Bundler`'s get method's return value is not applicable here. **Proposal** Alternative `Bundler` (MutatingBundler)...