Computer Hippocampus
  • 홈
  • 태그
  • 방명록
  • 메뉴 닫기
  • 글작성
  • 방명록
  • 환경설정
    • 분류 전체보기 (176)
      • Daily Records (0)
      • Coding Test 관련(with Kotlin) (0)
      • Android Dev (87)
        • NowInAndroid (7)
        • NaimanProject (0)
        • Compose (21)
        • Navigation (4)
        • Google Billing API (4)
        • Test Firebase Chatting App (12)
        • Login API 정리 (0)
        • Error logs (0)
      • 코틀린(Kotlin, Java) (14)
      • Swift (12)
        • codingTest (0)
      • Spring Boot (1)
      • Scala (3)
      • Js (0)
      • Programming Theory (13)
        • Functional Programming (2)
        • Design Pattern (0)
        • Generics (3)
        • 비동기 패러다임(Asynchronous Para.. (0)
        • 코루틴(Coruotine) (8)
        • Rxjava (0)
      • 파이어베이스(Firebase) (0)
      • 프로그래밍 팁 (1)
      • SystemVerilog (2)
      • Adobe (4)
        • 포토 일러스트레이터 (4)
        • Premiere pro (0)
      • Github 팁 (3)
      • RiscV (2)
        • Wake (1)
      • Linux (2)
      • CSS (4)
      • 회사 관련 (0)
  • 홈
  • 태그
  • 방명록
Android Dev

Firebase - Room synchronizable network + AndroidTest 예제

1. 해당 케이스의 테스트는 mocked networking이 아니라 actual networking using Firebase을 통해 테스트하는 예제이다. 따라서 firebase에 대한 connecting(by json)이 되어 있어야 하며, room 또한 mocked room by array가 아니라 androidTest를 통해 실제 database 를 temporary instantiating 하여 사용한다. basically configuration of Data layer는 NiA google sample app을 참고하고 있으며, 아래의 링크를 참고하면 된다.(https://witcheryoon.tistory.com/343) 2. 해당 시나리오는 다음과 같다. 아래와 같은 Entity를 구성하..

2022. 11. 28. 11:21
Android Dev/NowInAndroid

NowInAndroid(6) - Version Catalog / build-logic + unitTest implementation

1> Version Catalog를 통한 버전 관리 순서 요약 1. ../gradle/libs.versions.toml 에 라이브러리를 정리한다. [versions] accompanist = "0.27.0" androidDesugarJdkLibs = "1.2.0" androidGradlePlugin = "7.3.1" ... [libraries] accompanist-flowlayout = { group = "com.google.accompanist", name = "accompanist-flowlayout", version.ref = "accompanist" } accompanist-systemuicontroller = { group = "com.google.accompanist", name = "acc..

2022. 11. 15. 01:28
SystemVerilog

Gemmini - DNN hardware performance evaluation review

1> opensource Gemmini git repository 주소 : https://github.com/ucb-bar/gemmini 2> Gemmini를 이해하기 위해서 본인이 접근 할 순서는 다음과 같다. 1) Overall data flow and objective 2) Parameters에 대한 분석 3-1) Major Components overviewing 3-1) Chisel/Scala 세부 모듈에 대한 Testablity를 확보한 Code following 4) Software Test 1) Overall data flow and objective Gemmini The Gemmini project is developing a full-system, full-stack DNN hardwa..

2022. 11. 11. 11:43
Android Dev

@HiltWorker, @AssistedInject, @Assisted, @Dispatcher

원문 페이지 : https://developer.android.com/reference/androidx/hilt/work/HiltWorker HiltWorker A type annotation that identifies a androidx.work.ListenableWorker's constructor for injection. The HiltWorker containing a constructor annotated with AssistedInject will have its dependencies defined in the constructor parameters injected by Dagger's Hilt. Only one constructor in the Worker must be annotat..

2022. 11. 10. 23:38
Android Dev/NowInAndroid

NowInAndroid(4) - SyncWorker/SyncUtilities

Sync의 목적은 local data와 remote source의 동기화이다. 아래 설명에 대한 코드들은 대부분 아래의 경로에 구현되어있다 1) SyncUtilities 아래의 공식 설명을 참고하면 각 스탭에서 SyncWorker가 동작하는 부분이 있는 것을 확인할 수 있다. 통합적인 설명은 다음장에서 하기로하고, 일단은 SyncWorker/SyncUtilities 코드를 분석해본다. 스탭 중간중간에 Sync를 위해 메소드가 호출되는 것을 확인할 수 있다. 이를 볼 것이다. Step Description Code 1 On app startup, a WorkManager job to sync all repositories is enqueued. SyncInitializer.create 2 The initi..

2022. 11. 3. 21:21
코틀린(Kotlin, Java)

Functional Paradigm Pattern in Kotlin

1. Currying 이해 아래의 예를 보자. fun optionalCombinator(button : Int, getVal : (String) -> (String) -> T) : (String) -> T { return when(button) { 0 -> getVal("$button returnable") else -> getVal("other returnable") } } val f = optionalCombinator(0){ combA -> println(combA) return@optionalCombinator { combB -> println(combB) combB.length } } println(f("second returnable")) val f2 = optionalCombinator(1)..

2022. 11. 3. 15:19
  • «
  • 1
  • 2
  • 3
  • 4
  • ···
  • 30
  • »

공지사항

전체 카테고리

  • 분류 전체보기 (176)
    • Daily Records (0)
    • Coding Test 관련(with Kotlin) (0)
    • Android Dev (87)
      • NowInAndroid (7)
      • NaimanProject (0)
      • Compose (21)
      • Navigation (4)
      • Google Billing API (4)
      • Test Firebase Chatting App (12)
      • Login API 정리 (0)
      • Error logs (0)
    • 코틀린(Kotlin, Java) (14)
    • Swift (12)
      • codingTest (0)
    • Spring Boot (1)
    • Scala (3)
    • Js (0)
    • Programming Theory (13)
      • Functional Programming (2)
      • Design Pattern (0)
      • Generics (3)
      • 비동기 패러다임(Asynchronous Para.. (0)
      • 코루틴(Coruotine) (8)
      • Rxjava (0)
    • 파이어베이스(Firebase) (0)
    • 프로그래밍 팁 (1)
    • SystemVerilog (2)
    • Adobe (4)
      • 포토 일러스트레이터 (4)
      • Premiere pro (0)
    • Github 팁 (3)
    • RiscV (2)
      • Wake (1)
    • Linux (2)
    • CSS (4)
    • 회사 관련 (0)
애드센스 광고 영역
  • 최근 글
  • 최근 댓글

최근 글

최근댓글

태그

MORE

전체 방문자

오늘
어제
전체

블로그 인기글

Powered by Privatenote Copyright © Computer Hippocampus All rights reserved. TistoryWhaleSkin3.4

티스토리툴바