Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Otto - An Android Event Bus
Search
Lucas Albuquerque
December 05, 2015
Technology
0
140
Otto - An Android Event Bus
1º Ciclo de Palestras 2015 @ M4U
Lucas Albuquerque
December 05, 2015
Tweet
Share
More Decks by Lucas Albuquerque
See All by Lucas Albuquerque
Functional Programming on Android: is it possible?
lalbuquerque
0
64
Getting started with Kotlin and Android
lalbuquerque
1
170
DARK : dagger2-anko-rx-kotlin
lalbuquerque
1
440
TDC 2015 - Testes de Unidade com Robolectric
lalbuquerque
0
43
Other Decks in Technology
See All in Technology
無理しない AI 活用サービス / #jazug
koudaiii
0
110
AWS 怖い話 WAF編 @fillz_noh #AWSStartup #AWSStartup_Kansai
fillznoh
0
140
BEYOND THE RAG🚀 ~とりあえずRAG?を超えていけ! 本当に使えるAIエージェント&生成AIプロダクトを目指して~ / BEYOND-THE-RAG-Toward Practical-GenerativeAI-Products-AOAI-DevDay-2025
jnymyk
4
130
AWS Well-Architected から考えるオブザーバビリティの勘所 / Considering the Essentials of Observability from AWS Well-Architected
sms_tech
1
630
How Do I Contact Jetblue Airlines® Reservation Number: Fast Support Guide
thejetblueairhelpsupport
0
180
[SRE NEXT 2025] すみずみまで暖かく照らすあなたの太陽でありたい
carnappopper
2
580
Figma Dev Mode MCP Serverを用いたUI開発
zoothezoo
0
260
Introduction to Sansan, inc / Sansan Global Development Center, Inc.
sansan33
PRO
0
2.7k
ソフトウェアQAがハードウェアの人になったの
mineo_matsuya
3
230
Four Keysから始める信頼性の改善 - SRE NEXT 2025
ozakikota
0
430
AIエージェントが書くのなら直接CloudFormationを書かせればいいじゃないですか何故AWS CDKを使う必要があるのさ
watany
20
7.7k
低レイヤソフトウェア技術者が YouTuberとして食っていこうとした話
sat
PRO
6
5.6k
Featured
See All Featured
Optimising Largest Contentful Paint
csswizardry
37
3.3k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
35
2.4k
Being A Developer After 40
akosma
90
590k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
34
3.1k
Java REST API Framework Comparison - PWX 2021
mraible
31
8.7k
Into the Great Unknown - MozCon
thekraken
40
1.9k
Become a Pro
speakerdeck
PRO
29
5.4k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
161
15k
Visualization
eitanlees
146
16k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
A Tale of Four Properties
chriscoyier
160
23k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
7
750
Transcript
An Android Event Bus Otto
About me Lucas Albuquerque Mobile / Backend Developer @ M4U
Contacts E-mail:
[email protected]
Linkedin: linkedin.com/in/lucasalbuquerque Github: github.com/lalbuquerque SlideShare: slideshare.net/olucasalbuquerque
The problem
The problem
A light at the end of the tunnel…
None
Setting up
Setting up
Setting up
None
SUB PUB EventBus.publish(new MyEvent()); @EventSubscriber(eventClass = MyEvent.class)
But how is it all with Otto?
SUB:
PUB:
None
Producers @Produce public Beyonce produce() { return new Beyonce(); }
None
None
None
None
References: http://square.github.io/otto/ https://asherson.wordpress.com/2013/02/20/otto-event- bus-for-android/ http://www.vogella.com/tutorials/JavaLibrary- EventBusOtto/article.html https://corner.squareup.com/2012/07/otto.html https://github.com/square/otto/issues/27 http://nick.perfectedz.com/otto-event-system/