Skip to content

Commit 55e8891

Browse files
authored
Update README.md
1 parent 8e578f4 commit 55e8891

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

README.md

+11-11
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ A basic sample which shows how to use `SlidingTabLayout` with not only Text but
99

1010
```java
1111
repositories {
12-
jcenter()
12+
jcenter()
1313
}
1414

1515
dependencies {
16-
compile 'com.github.kimkevin:slidingicontablayout:1.0.0'
16+
compile 'com.github.kimkevin:slidingicontablayout:1.0.0'
1717
}
1818
```
1919

@@ -22,17 +22,17 @@ For using icon for tab, implement `SlidingTabLayout.TabIconProvider` to your `Fr
2222

2323
```java
2424
public class BaseTabAdapter extends FragmentPagerAdapter implements SlidingTabLayout.TabIconProvider {
25-
private static final int iconRes[] = {
26-
R.drawable.ic_action_camera,
27-
R.drawable.ic_action_video
28-
};
25+
private static final int iconRes[] = {
26+
R.drawable.ic_action_camera,
27+
R.drawable.ic_action_video
28+
};
2929

30-
...
30+
...
3131

32-
@Override
33-
public int getPageIconResId(int position) {
34-
return iconRes[position];
35-
}
32+
@Override
33+
public int getPageIconResId(int position) {
34+
return iconRes[position];
35+
}
3636
}
3737
```
3838

0 commit comments

Comments
 (0)