Skip to content

Commit f72b5be

Browse files
author
Eric Kuck
committed
Fixes #524 - onContextAvailable not being called on all child controllers
1 parent 7cb681f commit f72b5be

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ buildscript {
44
google()
55
}
66
dependencies {
7-
classpath 'com.android.tools.build:gradle:3.2.1'
7+
classpath 'com.android.tools.build:gradle:3.3.1'
88
}
99
}
1010

conductor/src/main/java/com/bluelinelabs/conductor/Router.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -546,6 +546,8 @@ public void rebindIfNeeded() {
546546

547547
if (transaction.controller.getNeedsAttach()) {
548548
performControllerChange(transaction, null, true, new SimpleSwapChangeHandler(false));
549+
} else {
550+
setControllerRouter(transaction.controller);
549551
}
550552
}
551553
}

demo/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ android {
44
compileSdkVersion rootProject.ext.compileSdkVersion
55

66
compileOptions {
7-
sourceCompatibility JavaVersion.VERSION_1_7
8-
targetCompatibility JavaVersion.VERSION_1_7
7+
sourceCompatibility 1.8
8+
targetCompatibility 1.8
99
}
1010

1111
defaultConfig {

dependencies.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ ext {
33
compileSdkVersion = 28
44
targetSdkVersion = 28
55

6-
butterknifeVersion = '9.0.0-rc1'
6+
butterknifeVersion = '10.1.0'
77
picassoVersion = '2.5.2'
88
leakCanaryVersion = '1.5.4'
99
rxJavaVersion = '1.3.8'

0 commit comments

Comments
 (0)