File tree 4 files changed +9
-3
lines changed
com.vogella.android.github.issuetracker/app
com.vogella.android.rxjava.simple/app
src/main/java/com/vogella/android/rxjava/simple
com.vogella.android.temperatureconverter.mvp 4 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ android {
5
5
buildToolsVersion " 25.0.3"
6
6
defaultConfig {
7
7
applicationId " com.vogella.android.github.issuetracker"
8
- minSdkVersion 15
8
+ minSdkVersion 21
9
9
targetSdkVersion 25
10
10
versionCode 1
11
11
versionName " 1.0"
Original file line number Diff line number Diff line change @@ -17,7 +17,12 @@ android {
17
17
targetSdkVersion 23
18
18
versionCode 1
19
19
versionName " 1.0"
20
+
21
+ jackOptions {
22
+ enabled true
23
+ }
20
24
}
25
+
21
26
buildTypes {
22
27
release {
23
28
minifyEnabled false
Original file line number Diff line number Diff line change 9
9
import java .util .List ;
10
10
11
11
import io .reactivex .Observable ;
12
+ import io .reactivex .disposables .Disposable ;
12
13
13
14
14
15
public class ColorsActivity extends AppCompatActivity {
@@ -25,7 +26,7 @@ protected void onCreate(Bundle savedInstanceState) {
25
26
26
27
private void createObservable () {
27
28
Observable <List <String >> listObservable = Observable .just (getColorList ());
28
- listObservable .subscribe (colors -> simpleStringAdapter .setStrings (colors ));
29
+ Disposable subscribe = listObservable .subscribe (colors -> simpleStringAdapter .setStrings (colors ));
29
30
30
31
}
31
32
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ buildscript {
5
5
jcenter()
6
6
}
7
7
dependencies {
8
- classpath ' com.android.tools.build:gradle:2.4.0-alpha4 '
8
+ classpath ' com.android.tools.build:gradle:2.3.0 '
9
9
10
10
// NOTE: Do not place your application dependencies here; they belong
11
11
// in the individual module build.gradle files
You can’t perform that action at this time.
0 commit comments