Commit 25baeeb 1 parent 018405e commit 25baeeb Copy full SHA for 25baeeb
File tree 3 files changed +9
-21
lines changed
src/main/java/com/shizhefei/view/indicator
3 files changed +9
-21
lines changed Original file line number Diff line number Diff line change @@ -6,12 +6,12 @@ ViewPagerIndicator
6
6
###3 . 支持自定义切换tab的过渡效果
7
7
###4 . 支持子界面的预加载和界面缓存
8
8
###5 . 支持设置界面是否可滑动
9
- ###6 . android: minSdkVersion ="8" android: targetSdkVersion ="21 "
9
+ ###6 . android: minSdkVersion ="8" android: targetSdkVersion ="24 "
10
10
11
11
###7 .导入方式
12
12
<1>gradle导入
13
13
14
- compile 'com.shizhefei:ViewPagerIndicator:1.1.0 '
14
+ compile 'com.shizhefei:ViewPagerIndicator:1.1.1 '
15
15
由于用到了v4和recyclerview所以也要导入他们
16
16
compile 'com.android.support:support-v4:23.4.0'
17
17
compile 'com.android.support:recyclerview-v7:23.2.1'
@@ -221,6 +221,10 @@ Fragment继承该类实现 显示Framgment的时候才会去创建你自己的
221
221
222
222
223
223
## 版本更新 ##
224
+ 1.1.1
225
+
226
+ 修复BannerComponent 的adapter的count为0 的bug
227
+ 优化FragmentListPageAdapter count为很大的数情况,SparseArray代替ArrayList
224
228
1.1.0
225
229
226
230
修复FixedIndicatorView.notifyDataChange, setCurrentItem的字体选中的位置不对
Original file line number Diff line number Diff line change @@ -7,8 +7,8 @@ android {
7
7
defaultConfig {
8
8
minSdkVersion 9
9
9
targetSdkVersion 23
10
- versionCode 11
11
- versionName " 1.1.0 "
10
+ versionCode 12
11
+ versionName " 1.1.1 "
12
12
}
13
13
buildTypes {
14
14
release {
@@ -64,7 +64,7 @@ publish {
64
64
userOrg = ' luckyjayce' // bintray.com用户名
65
65
groupId = ' com.shizhefei' // jcenter上的路径
66
66
artifactId = ' ViewPagerIndicator' // 项目名称
67
- publishVersion = ' 1.1.0 ' // 版本号
67
+ publishVersion = ' 1.1.1 ' // 版本号
68
68
desc = ' 实现滑动tab,引导页等效果' // 描述,不重要
69
69
website = ' https://github.com/LuckyJayce/ViewPagerIndicator' // 网站,不重要;尽量模拟github上的地址,例如我这样的;当然你有地址最好了
70
70
}
Original file line number Diff line number Diff line change 31
31
* Implementation of {@link PagerAdapter} that uses a
32
32
* {@link Fragment} to manage each page. This class also handles saving and
33
33
* restoring of fragment's state.
34
- * <p/>
35
- * <p>
36
34
* This version of the pager is more useful when there are a large number of
37
35
* pages, working more like a list view. When pages are not visible to the user,
38
36
* their entire fragment may be destroyed, only keeping the saved state of that
39
37
* fragment. This allows the pager to hold on to much less memory associated
40
38
* with each visited page as compared to {@link FragmentPagerAdapter} at the
41
39
* cost of potentially more overhead when switching between pages.
42
- * <p/>
43
- * <p>
44
40
* When using FragmentPagerAdapter the host ViewPager must have a valid ID set.
45
- * </p>
46
- * <p/>
47
- * <p/>
48
41
* Subclasses only need to implement {@link #getItem(int)} and
49
42
* {@link #getCount()} to have a working adapter.
50
- * <p/>
51
- * <p/>
52
43
* Here is an example implementation of a pager containing fragments of lists:
53
- * <p/>
54
44
* {
55
45
* development/samples/Support13Demos/src/com/example/android/supportv13/app/
56
46
* FragmentStatePagerSupport.java complete}
57
- * <p/>
58
- * <p/>
59
47
* The <code>R.layout.fragment_pager</code> resource of the top-level fragment
60
48
* is:
61
- * <p/>
62
49
* { development/samples/Support13Demos/res/layout/fragment_pager.xml
63
50
* complete}
64
- * <p/>
65
- * <p/>
66
51
* The <code>R.layout.fragment_pager_list</code> resource containing each
67
52
* individual fragment's layout is:
68
- * <p/>
69
53
* {
70
54
* development/samples/Support13Demos/res/layout/fragment_pager_list.xml
71
55
* complete}
You can’t perform that action at this time.
0 commit comments