Skip to content

Commit 5e6ff55

Browse files
committed
update readme
1 parent e5a458d commit 5e6ff55

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,13 @@ Simple steps, you can integrate **MagicIndicator**:
103103
SimpleViewPagerDelegate.with(magicIndicator, mViewPager).delegate();
104104
```
105105

106+
6. work with Fragment Container(no ViewPager, switch Pages by hand):
107+
```
108+
mFramentContainerHelper = new FragmentContainerHelper(magicIndicator);
109+
...
110+
mFragmentContainerHelper.handlePageSelected(pageIndex); // invoke when switch Fragment by hand
111+
```
112+
106113
# Extend
107114

108115
**MagicIndicator** can be easily extended:

0 commit comments

Comments
 (0)