목록전체 글 (1755)
오늘도 공부
안녕하세요, Realm World Tour 참가자/대기자 여러분.이번 Realm World Tour 2017 행사는 여러 도시에서 열리는 Realm 소개 행사로써, 한국에서는 서울과 부산에서 진행됐습니다. 서울에서 진행된 세션 동영상과 슬라이드 링크를 포함한 내용이 https://realm.io/kr/news에 정리되어 올라갔으니 확인해 주세요. --- 강연 영상 및 슬라이드 --- 1. Realm을 소개합니다! - Realm World Tour 2017 Seoul - https://www2.realm.io/e/210132/oducing-realm-would-tour-2017-/2q1vb/35873041 - 회사로서의 Realm과, Realm 모바일 데이터베이스와 Realm 모바일 플랫폼을 소개합니다. ..
유효성 체크https://github.com/Ilhasoft/data-binding-validator
출처 : http://dktfrmaster.blogspot.kr/2016/09/glide.htmlGlide란 무엇인가??구글에서 공개한 이미지 라이브러리기존의 Bump앱이 만들어 사용하던 라이브러리였는데 구글이 Bump앱을 인수하여 라이브러리를 공개웹 상의 이미지를 로드하여 보려주기 위해 고려해야 할 사항들을 미리 구현하여, 사용자가 이용하기 쉽게 만든 라이브러리Glide 추가하기Dependency 추가build.gradle의 dependencies에 다음을 추가한다.compile 'com.github.bumptech.glide:glide:3.7.0' 혹시 maven을 이용한다면 다음을 추가한다. com.github.bumptech.glide glide 3.7.0 aar 기본 이미지 로딩Glide 클래스..
https://github.com/ihsanbal/LoggingInterceptor
FLAG_ACTIVITY_CLEAR_TOP|FLAG_ACTIVITY_SINGLE_TOP 하단에 이미 스택에 있는 activity 일 경우 onCreate 를 방지하기 위해선 필요..
Retrofit 사용시 NumberformatException 발생시.. 간혹 숫자로 변환시 빈값으로 들어오는 경우 뱉는 오류 중 하나가 NumberformatException 이다. 이럴경우 Adapter를 하나 등록하면 된다. public class EmptyStringToNumberTypeAdapter extends TypeAdapter { @Override public void write(JsonWriter jsonWriter, Number number) throws IOException { if (number == null) { jsonWriter.nullValue(); return; } jsonWriter.value(number); } @Override public Number read(Jso..
출처 : http://www.cnblogs.com/zhaoyanjun/p/5535651.htmlButton 防抖处理 button = (Button) findViewById( R.id.bt ) ; RxView.clicks( button ) .throttleFirst( 2 , TimeUnit.SECONDS ) //两秒钟之内只取一个点击事件,防抖操作 .subscribe(new Action1() { @Override public void call(Void aVoid) { Toast.makeText(MainActivity.this, "点击了", Toast.LENGTH_SHORT).show(); } }) ; 按钮的长按时间监听 button = (Button) findViewById( R.id.bt ) ; //监听长按时..
Rx CheetSheet] 다중 터치 방지하기 - throttleFirst() http://kunny.github.io/tip/rx/2016/04/08/rx_cheatsheet_throttle_first/
http://eyeahs.github.io/rxjava/blog/2016/10/11/rxjava-wiki-backpressure/
출처 : http://beust.com/weblog/2015/06/01/easy-sqlite-on-android-with-rxjava/Easy SQLite on Android with RxJavaWhenever I consider using an ORM library on my Android projects, I always end up abandoning the idea and rolling my own layer instead for a few reasons:My database models have never reached the level of complexity that ORM’s help with.Every ounce of performance counts on Android and I can..
