retrofit2 + rxandroid2 + mvp 를 이용한 통신 참고로 mvp 처럼만 보이고 아닐수도 있어요. 1. dependencies 추가 기존 내용과 동일 합니다. compile 'com.squareup.okhttp3:okhttp:3.6.0' compile 'com.squareup.okhttp3:logging-interceptor:3.6.0' compile... »
findViewById 없이 사용하기 앱을 만들면서 항상해야 하고 코드가 안 이쁘게 보이는걸 데이터 바인딩으로 해결해 보자 참고 사이트 안드로이드 개발자 사이트 링크 GsBob 블로그 1. 버터 나이프... »
retrofit2 + rxandroid2 를 이용한 통신 rxandroid2 를 추가해 보았습니다. 1. dependencies 추가 compile 'com.squareup.okhttp3:okhttp:3.6.0' compile 'com.squareup.okhttp3:logging-interceptor:3.6.0' compile 'com.squareup.retrofit2:retrofit:2.1.0' compile 'com.squareup.retrofit2:converter-gson:2.1.0' compile 'io.reactivex.rxjava2:rxjava:2.0.1' compile 'io.reactivex.rxjava2:rxandroid:2.0.1' compile... »
retrofit2 를 이용한 통신 가장 많이 사용되는 통신라이브러리를 이용해서 네이버기계 번역 앱을 만들어 보았습니다. 1. dependencies 추가 compile 'com.squareup.okhttp3:okhttp:3.6.0' compile 'com.squareup.okhttp3:logging-interceptor:3.6.0' compile 'com.squareup.retrofit2:retrofit:2.1.0' compile 'com.squareup.retrofit2:converter-gson:2.1.0' 2.... »
1. RxAndroid2 를 이용한 샘플 앱을 만들어 보면서 RxAndroid 에 적응해 보자 인터넷에 rxjava, RxAndroid 내용들이 너무 많아서 해당 내용은 따로 기술 안함 공부하기 좋은 링크... »