-
Notifications
You must be signed in to change notification settings - Fork 265
ProGuard
JingYeoh edited this page Aug 16, 2018
·
4 revisions
If you need ProGuard , please add the below rules in your
proguard-rule.pro
.
-keep class com.jkb.fragment.rigger.rigger.** {*;}
-keep interface com.jkb.fragment.rigger.rigger.** {*;}
-keep class com.jkb.fragment.swiper.**{*;}
-keep public class * extends android.app.Activity
-keep public class * extends android.support.v4.app.Fragment
-keepclassmembers class * extends android.app.Activity {
public int getContainerViewId();
public boolean onRiggerBackPressed();
public void onFragmentResult(int,int,android.os.Bundle);
public void onLazyLoadViewCreated(android.os.Bundle);
public int[] getPuppetAnimations();
public String getFragmentTag();
public boolean onInterruptBackPressed();
}
-keepclassmembers class * extends android.support.v4.app.Fragment {
public int getContainerViewId();
public boolean onRiggerBackPressed();
public void onFragmentResult(int,int,android.os.Bundle);
public void onLazyLoadViewCreated(android.os.Bundle);
public int[] getPuppetAnimations();
public String getFragmentTag();
public boolean onInterruptBackPressed();
}
- Installation
- Using start
- Fragment usage
- Custom fragment tag
- Lazy loading
- Transition animations
- Intercept onBackPressed
- startFragmentForResult
- Swipe edge to exit
- How to use in library module