Fix crash TabLayout on Android 4.x in new version of material components (#403)

This commit is contained in:
Rafał Borcz 2019-06-06 19:16:00 +02:00 committed by Mikołaj Pich
parent 39af56484b
commit 75122d0dcd
2 changed files with 4 additions and 1 deletions

View File

@ -107,7 +107,7 @@ dependencies {
implementation "androidx.cardview:cardview:1.0.0" implementation "androidx.cardview:cardview:1.0.0"
implementation 'androidx.constraintlayout:constraintlayout:1.1.3' implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
implementation "com.google.android.material:material:1.1.0-alpha05" implementation "com.google.android.material:material:1.1.0-alpha07"
implementation 'com.github.wulkanowy:MaterialChipsInput:b72fd0ee6f' implementation 'com.github.wulkanowy:MaterialChipsInput:b72fd0ee6f'
implementation 'com.github.PhilJay:MPAndroidChart:v3.1.0' implementation 'com.github.PhilJay:MPAndroidChart:v3.1.0'

View File

@ -37,3 +37,6 @@
#Config for API #Config for API
-keep class io.github.wulkanowy.api.** {*;} -keep class io.github.wulkanowy.api.** {*;}
#Config for Material Components
-keep class com.google.android.material.tabs.** {*;}