File tree Expand file tree Collapse 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 Expand file tree Collapse file tree 4 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ android {
55 buildToolsVersion " 25.0.3"
66 defaultConfig {
77 applicationId " com.vogella.android.github.issuetracker"
8- minSdkVersion 15
8+ minSdkVersion 21
99 targetSdkVersion 25
1010 versionCode 1
1111 versionName " 1.0"
Original file line number Diff line number Diff line change @@ -17,7 +17,12 @@ android {
1717 targetSdkVersion 23
1818 versionCode 1
1919 versionName " 1.0"
20+
21+ jackOptions {
22+ enabled true
23+ }
2024 }
25+
2126 buildTypes {
2227 release {
2328 minifyEnabled false
Original file line number Diff line number Diff line change 99import java .util .List ;
1010
1111import io .reactivex .Observable ;
12+ import io .reactivex .disposables .Disposable ;
1213
1314
1415public class ColorsActivity extends AppCompatActivity {
@@ -25,7 +26,7 @@ protected void onCreate(Bundle savedInstanceState) {
2526
2627 private void createObservable () {
2728 Observable <List <String >> listObservable = Observable .just (getColorList ());
28- listObservable .subscribe (colors -> simpleStringAdapter .setStrings (colors ));
29+ Disposable subscribe = listObservable .subscribe (colors -> simpleStringAdapter .setStrings (colors ));
2930
3031 }
3132
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ buildscript {
55 jcenter()
66 }
77 dependencies {
8- classpath ' com.android.tools.build:gradle:2.4.0-alpha4 '
8+ classpath ' com.android.tools.build:gradle:2.3.0 '
99
1010 // NOTE: Do not place your application dependencies here; they belong
1111 // in the individual module build.gradle files
You can’t perform that action at this time.
0 commit comments