PrototypeZ / SaveState

:icecream: Generate 'onSaveInstanceState' and 'onRestoreInstanceState' methods for your application automatically
1.01k stars 79 forks source link

must use with databinding? #5

Closed SwiftyWang closed 6 years ago

SwiftyWang commented 6 years ago

If I removed the databing logic. Demo app cannot compile due to

Execution failed for task ':app:transformClassesWithSaveStateForDebug'.
> java.io.FileNotFoundException: /Users/swiftywang/project/Android/SaveState/app/build/intermediates/transforms/desugar/debug/0/io/github/prototypez/savestate/activity/SmartActivity$1.class (No such file or directory)
PrototypeZ commented 6 years ago

No, databinding is not necessary, maybe a clean-build works for you.