-
Notifications
You must be signed in to change notification settings - Fork 265
Yeoh edited this page Dec 28, 2018
·
9 revisions
FragmentRigger
使用向导。
FragmentRigger
使用过程中有问题?
-
FragmentRigger只支持继承
android.support.v4.app.Fragment
和android.support.v4.app.FragmentActivity
的子类. -
FragmentRigger支持
SDK12+
.
本项目
AOP
的实现是通过AsPectJ
来实现的,所以在配置本项目的同时需要加入AsPectJ
的支持。
buildscript {
dependencies {
...
classpath 'com.hujiang.aspectjx:gradle-android-plugin-aspectjx:2.0.4'
classpath 'org.aspectj:aspectjtools:1.8.13'
}
}
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
apply plugin: 'android-aspectjx'
android{
...
}
library | 最新版本 |
---|---|
FragmentRigger |
'com.justkiddingbaby:fragment-rigger:最新版本'
最后:别忘了关闭Instant Run
- 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