Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
hegaojian authored Jun 7, 2021
1 parent 1f13eae commit 0d1fc1d
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -444,6 +444,20 @@ private val mainViewModel by lazy { getAppViewModel<MainViewModel>()}
的包中看,反正你也可以自己写,按照自己的喜好与需求来
```

## 7.混淆

```
-keep class me.hgj.jetpackmvvm.**{*;}
-keep class com.google.android.material.** {*;}
-keep class androidx.** {*;}
-keep public class * extends androidx.**
-keep interface androidx.** {*;}
-dontwarn com.google.android.material.**
-dontnote com.google.android.material.**
-dontwarn androidx.**
```


## 感谢
- [Jetpack-MVVM-Best-Practice](https://github.com/KunMinX/Jetpack-MVVM-Best-Practice)
- [重学安卓](https://xiaozhuanlan.com/kunminx?rel=8184827882)
Expand Down

0 comments on commit 0d1fc1d

Please sign in to comment.