Mentioned issues (3)
Links (16)
“ Because of that rule, at least instance initializer of your class that extends AndroidViewModel would be kept as long as that class itself is used/kept somehow. That's one notable difference between `-keepclassmemebers` v.s. other keep directives such as `-keep` or `-keepclasseswithmembers`. https://www.guardsquare.com/en/products/proguard/manual/usage#keepclassmembers ”
“ # For native methods, see http://proguard.sourceforge.net/manual/examples.html#native ”
“ # For enumeration classes, see http://proguard.sourceforge.net/manual/examples.html#enumerations ”
“ Indeed, there are many reflective instance creations in ViewModelProvider, e.g., https://android.googlesource.com/platform/frameworks/support/+/refs/heads/androidx-master-dev/lifecycle/lifecycle-viewmodel/src/main/java/androidx/lifecycle/ViewModelProvider.java#267 and that's why they provide rules like https://android.googlesource.com/platform/frameworks/support/+/refs/heads/androidx-master-dev/lifecycle/lifecycle-viewmodel/proguard-rules.pro ”