Skip to content

Commit 500790a

Browse files
committed
upgrade to v3.7.0
1 parent beee6a8 commit 500790a

4 files changed

Lines changed: 9 additions & 5 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ monitors all activities' lifecycle.
3232

3333
## Usage
3434
1) add dependence in module's build.gradle
35-
> compile 'cc.rome753:activitytaskview:3.6.0'
35+
> compile 'cc.rome753:activitytaskview:3.7.0'
3636
3737
2) add system alert permission in AndroidManifest.xml
3838
```

activitytaskview/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ publish {
1515
userOrg = 'rome713bc'
1616
groupId = 'cc.rome753'
1717
artifactId = 'activitytaskview'
18-
publishVersion = '3.6.0'
18+
publishVersion = '3.7.0'
1919
desc = 'Long name optimize'
2020
website = 'https://github.com/rome753/activitytaskview'
2121
}
@@ -26,8 +26,8 @@ android {
2626

2727
defaultConfig {
2828
minSdkVersion 14
29-
versionCode 8
30-
versionName "3.6.0"
29+
versionCode 9
30+
versionName "3.7.0"
3131

3232
}
3333

activitytaskview/src/main/java/cc/rome753/activitytask/view/FragmentTreeView.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,10 @@ private void notifyData(){
4343
removeAllViews();
4444
mLifecycleObservable.deleteObservers();
4545
if(mTree != null){
46+
mTree.setTabs(
47+
getResources().getString(R.string.tab1),
48+
getResources().getString(R.string.tab2),
49+
getResources().getString(R.string.tab3));
4650
List<String> strings = mTree.convertToList();
4751
for(String s : strings){
4852
addTextView(s);

app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,5 @@ dependencies {
3030
api 'com.android.support:appcompat-v7:25.2.0'
3131
testApi 'junit:junit:4.12'
3232
api project(':activitytaskview')
33-
// api 'cc.rome753:activitytaskview:3.5.0'
33+
// api 'cc.rome753:activitytaskview:3.7.0'
3434
}

0 commit comments

Comments
 (0)