[android] Otto library 에 대해서. Otto Library 에 대해서. Otto 가 뭐야? Otto Library 는 open source library 로 간단히 이야기하면, event dispatcher 이다. Event Bus 라는 dispatcher 가 있고, event producer 와 event subscriber 를 event bus 에 등록하면 이 녀석이 둘을 연결해주는 방식이다. Otto 는 왜 쓰려는 거야? ( 장점 ) Otto 의 motivation 은 보통 이 구조를 interface 를 이용해서 구현하는데, register 하는 쪽과 당하는 쪽이 interface 에 대해 알고 있어야 하며, 이를 boilerplate 코드로 여겨지는 데서 출발한다. Interface 로 묶이는 경우를 coupling 이라고 볼 수.. 2013. 7. 11. 반응형 이전 1 2 3 4 다음