@@ -25,13 +25,13 @@ Add the dependency to your build.gradle.
25
25
26
26
```
27
27
dependencies {
28
- compile 'com.ogaclejapan.smarttablayout:library:1.1.1 @aar'
28
+ compile 'com.ogaclejapan.smarttablayout:library:1.1.2 @aar'
29
29
30
30
//Optional: see how to use the utility.
31
- compile 'com.ogaclejapan.smarttablayout:utils-v4:1.1.1 @aar'
31
+ compile 'com.ogaclejapan.smarttablayout:utils-v4:1.1.2 @aar'
32
32
33
33
//Optional: see how to use the utility.
34
- compile 'com.ogaclejapan.smarttablayout:utils-v13:1.1.1 @aar'
34
+ compile 'com.ogaclejapan.smarttablayout:utils-v13:1.1.2 @aar'
35
35
}
36
36
```
37
37
@@ -190,7 +190,7 @@ but implemented functionality is the same.
190
190
191
191
ViewPagerItemAdapter adapter = new ViewPagerItemAdapter (ViewPagerItems . with(this )
192
192
.add(R . string. title, R . layout. page)
193
- .add(ViewPagerItem . of( " title" , R . layout. page) )
193
+ .add(" title" , R . layout. page)
194
194
.create());
195
195
196
196
viewPager. setAdapter(adapter);
@@ -221,7 +221,7 @@ FragmentPagerItemAdapter adapter = new FragmentPagerItemAdapter(
221
221
getSupportFragmentManager(), FragmentPagerItems . with(this )
222
222
.add(R . string. title, PageFragment . class),
223
223
.add(R . string. title, WithArgumentsPageFragment . class, new Bundler (). putString(" key" , " value" ). get()),
224
- .add(FragmentPagerItem . of( " title" , PageFragment . class) )
224
+ .add(" title" , PageFragment . class)
225
225
.create());
226
226
227
227
viewPager. setAdapter(adapter);
0 commit comments