Skip to content

Commit

Permalink
Keep ViewHolder constructors resolved by reflection.
Browse files Browse the repository at this point in the history
  • Loading branch information
6bangs committed Mar 24, 2017
1 parent bd0df96 commit af2f35b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 23 deletions.
7 changes: 1 addition & 6 deletions chatkit/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,7 @@ android {
versionCode 1
versionName "0.1.2"

}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
consumerProguardFiles 'proguard.txt'
}
}

Expand Down
17 changes: 0 additions & 17 deletions chatkit/proguard-rules.pro

This file was deleted.

4 changes: 4 additions & 0 deletions chatkit/proguard.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# ViewHolder constructors are resolved by reflection
-keepclassmembers class * extends com.stfalcon.chatkit.commons.ViewHolder {
public <init>(android.view.View);
}

0 comments on commit af2f35b

Please sign in to comment.