목록IT (1353)
오늘도 공부
https://httpbin.org/
http://blackturtle.tistory.com/m/711821
{ [weak self] offset in guard let `self` = self else { return false } //
post_install do |installer| installer.pods_project.targets.each do |target| target.build_configurations.each do |config| config.build_settings['SWIFT_VERSION'] = '3.2' end endend
출처 : http://www.viseator.com/2017/05/25/android_google_mvp/
단계별 따라하기 https://medium.com/@dmilicic/a-detailed-guide-on-developing-android-apps-using-the-clean-architecture-pattern-d38d71e94029 마틴아저씨의 비디오 강의https://vimeo.com/43612849 클린 아키텍쳐상에서 RxJava 적용https://fernandocejas.com/2015/07/18/architecting-android-the-evolution/
https://httpbin.org
분명 비어있는 데 trim 을 했을 경우 안없어지는 경우가 발생할 수 있다. 그럴경우 아래 함수를 실행해보자.public static String trimAdvanced(String value) { Objects.requireNonNull(value); int strLength = value.length(); int len = value.length(); int st = 0; char[] val = value.toCharArray(); if (strLength == 0) { return ""; } while ((st 0) || (len < strLength)) ? value.substring(st, len) : value; }
http://aroundck.tistory.com/m/477
http://leandrofavarin.com/exponential-backoff-rxjava-operator-with-jitter
http://kimjihyok.info/2017/05/04/android-debug-tools-%EB%94%94%EB%B2%84%EA%B9%85-%EB%8F%84%EA%B5%AC-%EC%B4%9D%EC%A0%95%EB%A6%AC/
https://pgr21.com/pb/pb.php?id=humor&no=313145&page=2
Stopping server Error: EPERM: operation not permitted, mkdir라고 나오면 gitbook fetch 2.6.7하고gitbook serve --gitbook=2.6.7 으로 실행해주면 된다. 최신버전에 문제가 있나 보다..
https://balamaci.github.io/rxjava-walkthrough/
출처: http://doohyun.tistory.com/44 [N`s Lab] List subjectRelationList = Arrays.asList( new SubjectRelation(1, 1001, "Doohyun Nam", 1) , new SubjectRelation(1, 1002, "Dolkin", 2) , new SubjectRelation(1, 1003, "hshawng", 1) , new SubjectRelation(1, 1004, "spKwon", 1) , new SubjectRelation(2, 1005, "Other Person1", 3) , new SubjectRelation(2, 1006, "Other Person2", 4) ); // create MapMap mapTest = ..
Rxjava2 Extrashttps://github.com/davidmoten/rxjava2-extras RxJava2 Extentionshttps://github.com/akarnokd/RxJava2Extensions
https://mingrammer.com/translation-10-common-software-architectural-patterns-in-a-nutshell
실시간 서비스 경험기(배달운영시스템) 우아한 형제들 기술 블로그http://woowabros.github.io/woowabros/2017/09/12/realtime-service.html
포토샵에서 스크립트로 다 분리하는 방법입니다. http://www.uncorkedstudios.com/blog/export-to-android-photoshop-script/
출처 : https://stackoverflow.com/a/43343039Observable observable1 = Observable.from(new String[]{"A", "B", "C", "D"}); Observable observable2 = Observable.from(new String[]{"E", "C", "B", "G", "J", "O"}); observable1.concatMap(new Func1() { @Override public Observable call(final String string) { return observable2.contains(string); } }).zipWith(observable1, new Func2() { @Override public String ca..
출처 : https://github.com/ReactiveX/RxAndroid/wiki RxLifecycle - Lifecycle handling APIs for Android apps using RxJavaRxBinding - RxJava binding APIs for Android's UI widgets.SqlBrite - A lightweight wrapper around SQLiteOpenHelper and ContentResolver which introduces reactive stream semantics to queries.Android-ReactiveLocation - Library that wraps location play services API boilerplate with a re..
/*** * This is a helper wrapper Subscriber that helps you lazily defer * continuous paging of a result set from some API. * Through the use of a {@link Subject}, it helps notify the original {@link Observable} * when to perform an additional fetch. * The notification is sent when a certain count of items has been reached. * Generally this count represents the page. * @param The event type */ @Da..
http://archive.li/aWpHd
http://forensic-proof.com/archives/300
꽤 괜찮은 것 많네요.http://download.androidhive.info/
출처 : https://raseshmori.wordpress.com/2015/01/07/mockito-and-power-mockito-cheatsheet/@RunWith(PowerMockRunner.class) – Tell Junit that run this test using PowerMockRunner@PrepareForTest(A.class) – This is needed when we need to test static methods of A classAService mock = PowerMockito.mock(A.class) – Creating a mock for A classPowerMockito.when(mock.mockedMethod()).thenReturn(value) – When moc..
https://okky.kr/article/413054?utm_referrer=https%3A%2F%2Fzen.yandex.com
https://medium.com/@fabioCollini/android-testing-using-dagger-2-mockito-and-a-custom-junit-rule-c8487ed01b56
코틀린 Junit testhttps://proandroiddev.com/using-kotlin-for-tests-in-android-6d4a0c818776 핵심은 sourceSets { test.java.srcDirs += 'src/test/kotlin' } } afterEvaluate { android.sourceSets.all { sourceSet -> if (!sourceSet.name.startsWith("test")) { sourceSet.kotlin.setSrcDirs([]) } } } 으로 해서 릴리즈땐 제거 해주고 testCompile "org.jetbrains.kotlin:kotlin-test-junit:$kotlin_ver" 을 추가 해주는게 핵심..