본문 바로가기

공부/안드로이드

[android][error] Duplicate class androidx.annotation.AnimRes found in modules ~~~ 보호되어 있는 글입니다.
[Android][core] Background tasks(1) 1. 백그라운드 프로세싱 Every Android app has a main thread which is in charge of handling UI (including measuring and drawing views), coordinating user interactions, and receiving lifecycle events. If there is too much work happening on this thread, the app appears to hang or slow down, leading to an undesirable user experience. Any long-running computations and operations such as decoding a bitmap, acce..
[Android] Callback? 1. 정의 (1) 1단계 정의 : Callback (Wiki) In computer programming, a callback is a piece of executable code that is passed as an argument to other code, which is expected to call back (execute) the argument at some convenient time. The invocation may be immediate as in a synchronous callback or it might happen at later time, as in an asynchronous callback. 컴퓨터 프로그래밍에서 콜백은 다른 코드에 "인수로 전달되는 실행 가능한 코드 조각"..
[Android][platform] Consumer 1. 정의 (1) Consumer location : java.util.function.interfaces Represents an operation that accepts a single input argument and returns no result. Unlike most other functional interfaces, Consumer is expected to operate via side-effects. This is a functional interface whose functional method is accept(java.lang.Object). 단일 입력변수(argument)를 받아서 아무런 반환값을 내놓지 않는 연산을 나타낸다. 대부분의 다른 '기능적 인터페이스'와는 달리, Cons..