-
Notifications
You must be signed in to change notification settings - Fork 265
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
9 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -80,6 +80,15 @@ public class MainActivity extends AppCompatActivity{ | |
### 运行效果 | ||
>本项目支持常见场景下的`Fragment`操纵方式,如有不支持的场景,欢迎提交[Issues](https://github.com/JustKiddingBaby/FragmentRigger/issues)或者[Email me ](mailto:[email protected]) | ||
|场景|演示|代码|样例| | ||
|:---|:---:|:---|:---| | ||
|栈管理(同级、多层嵌套)`start`|| Rigger.getRigger(this).startFragment(fragment); |[StartFragment.java](/app/src/main/java/com/yj/app/test/start/StartFragment.java) | ||
|同级展示`show`|| Rigger.getRigger(this).showFragment(tag); |[ShowFragment.java](/app/src/main/java/com/yj/app/test/show/ShowFragment.java) | ||
|同级替换`replace`|| Rigger.getRigger(this).replaceFragment(fragment,containerId); |[ReplaceFragment.java](/app/src/main/java/com/yj/app/test/replace/ReplaceFragment.java) | ||
|懒加载|| @LazyLoad |[LazyLoadFragment.java](/app/src/main/java/com/yj/app/test/lazyload/LazyLoadFragment.java) | ||
|
||
>上面的demo只是展示了部分常用的场景,主要是为了突出本框架强大的Api支持,一些针对`Fragment`的其他功能在上面几个demo中也有体现,如`转场动画`等,详细使用请看Wiki。 | ||
### 如何配置 | ||
>本项目`AOP`的实现是通过`AsPectJ`来实现的,所以在配置本项目的同时需要加入`AsPectJ`的支持。 | ||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.