Skip to content

Commit cdecaab

Browse files
committed
Update version to 1.1.2
1 parent 4701df9 commit cdecaab

File tree

3 files changed

+12
-7
lines changed

3 files changed

+12
-7
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Version 1.1.2
2+
3+
* Added setter for tab text colors #10
4+
* Allow to set a String title dynamically on PagerItems. #7
5+
16
# Version 1.1.1
27

38
* Enable the format of ‘reference’ for defaultTextColor to support ColorStateList #3

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@ Add the dependency to your build.gradle.
2525

2626
```
2727
dependencies {
28-
compile 'com.ogaclejapan.smarttablayout:library:1.1.1@aar'
28+
compile 'com.ogaclejapan.smarttablayout:library:1.1.2@aar'
2929
3030
//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'
3232
3333
//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'
3535
}
3636
```
3737

@@ -190,7 +190,7 @@ but implemented functionality is the same.
190190

191191
ViewPagerItemAdapter adapter = new ViewPagerItemAdapter(ViewPagerItems.with(this)
192192
.add(R.string.title, R.layout.page)
193-
.add(ViewPagerItem.of("title", R.layout.page))
193+
.add("title", R.layout.page)
194194
.create());
195195

196196
viewPager.setAdapter(adapter);
@@ -221,7 +221,7 @@ FragmentPagerItemAdapter adapter = new FragmentPagerItemAdapter(
221221
getSupportFragmentManager(), FragmentPagerItems.with(this)
222222
.add(R.string.title, PageFragment.class),
223223
.add(R.string.title, WithArgumentsPageFragment.class, new Bundler().putString("key", "value").get()),
224-
.add(FragmentPagerItem.of("title", PageFragment.class))
224+
.add("title", PageFragment.class)
225225
.create());
226226

227227
viewPager.setAdapter(adapter);

gradle.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
VERSION_NAME=1.1.1
2-
VERSION_CODE=3
1+
VERSION_NAME=1.1.2
2+
VERSION_CODE=4
33
BUILD_TOOLS_VERSION=22
44
COMPILE_SDK_VERSION=22
55

0 commit comments

Comments
 (0)