From db0b0aec090c32392a8f4aaa316389030d8e0c8b Mon Sep 17 00:00:00 2001 From: "Kevin T. Coughlin" <706967+KevinTCoughlin@users.noreply.github.com> Date: Sun, 3 Nov 2024 15:38:40 -0800 Subject: [PATCH] Adjust proguard rules --- Smodr/proguard-rules.pro | 18 +++++++++++++++++- common-android/proguard-rules.pro | 18 +++++++++++++++++- 2 files changed, 34 insertions(+), 2 deletions(-) diff --git a/Smodr/proguard-rules.pro b/Smodr/proguard-rules.pro index 668a1584..f083707f 100644 --- a/Smodr/proguard-rules.pro +++ b/Smodr/proguard-rules.pro @@ -57,4 +57,20 @@ -keepattributes *Annotation* -keepclassmembers class ** { @androidx.annotation.Keep *; -} \ No newline at end of file +} + +# Keep BinderRecyclerAdapter and all its inner classes +-keep class com.cascadiacollections.jamoka.adapter.BinderRecyclerAdapter { *; } +-keepclassmembers class com.cascadiacollections.jamoka.adapter.BinderRecyclerAdapter$Binder { *; } + +# Keep BinderRecyclerFragment and all its inner classes +-keep class com.cascadiacollections.jamoka.fragment.BinderRecyclerFragment { *; } +-keepclassmembers class com.cascadiacollections.jamoka.fragment.BinderRecyclerFragment$OnItemSelected { *; } + +# Keep BinderRecyclerAdapter and its inner classes +-keep class com.cascadiacollections.jamoka.adapter.BinderRecyclerAdapter { *; } +-keep class com.cascadiacollections.jamoka.adapter.BinderRecyclerAdapter$Binder { *; } + +# Keep BinderRecyclerFragment and its inner classes +-keep class com.cascadiacollections.jamoka.fragment.BinderRecyclerFragment { *; } +-keep class com.cascadiacollections.jamoka.fragment.BinderRecyclerFragment$OnItemSelected { *; } \ No newline at end of file diff --git a/common-android/proguard-rules.pro b/common-android/proguard-rules.pro index bea10504..c337a5a5 100644 --- a/common-android/proguard-rules.pro +++ b/common-android/proguard-rules.pro @@ -56,4 +56,20 @@ -keepattributes *Annotation* -keepclassmembers class ** { @androidx.annotation.Keep *; -} \ No newline at end of file +} + +# Keep BinderRecyclerAdapter and all its inner classes +-keep class com.cascadiacollections.jamoka.adapter.BinderRecyclerAdapter { *; } +-keepclassmembers class com.cascadiacollections.jamoka.adapter.BinderRecyclerAdapter$Binder { *; } + +# Keep BinderRecyclerFragment and all its inner classes +-keep class com.cascadiacollections.jamoka.fragment.BinderRecyclerFragment { *; } +-keepclassmembers class com.cascadiacollections.jamoka.fragment.BinderRecyclerFragment$OnItemSelected { *; } + +# Keep BinderRecyclerAdapter and its inner classes +-keep class com.cascadiacollections.jamoka.adapter.BinderRecyclerAdapter { *; } +-keep class com.cascadiacollections.jamoka.adapter.BinderRecyclerAdapter$Binder { *; } + +# Keep BinderRecyclerFragment and its inner classes +-keep class com.cascadiacollections.jamoka.fragment.BinderRecyclerFragment { *; } +-keep class com.cascadiacollections.jamoka.fragment.BinderRecyclerFragment$OnItemSelected { *; } \ No newline at end of file