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
75
Getting started with Kotlin and Android
lalbuquerque
1
180
DARK : dagger2-anko-rx-kotlin
lalbuquerque
1
440
TDC 2015 - Testes de Unidade com Robolectric
lalbuquerque
0
44
Other Decks in Technology
See All in Technology
AI時代のアジャイルチームを目指して ー スクラムというコンフォートゾーンからの脱却 ー / Toward Agile Teams in the Age of AI
takaking22
11
4.5k
歴史から学ぶ、Goのメモリ管理基礎
logica0419
10
2.2k
技術選定、下から見るか?横から見るか?
masakiokuda
0
180
プロンプトエンジニアリングを超えて:自由と統制のあいだでつくる Platform × Context Engineering
yuriemori
0
160
Introduction to Sansan Meishi Maker Development Engineer
sansan33
PRO
0
330
ルネサンス開発者を育てる 1on1支援AIエージェント
yusukeshimizu
0
130
名刺メーカーDevグループ 紹介資料
sansan33
PRO
0
1k
業務の煩悩を祓うAI活用術108選 / AI 108 Usages
smartbank
9
19k
なぜ あなたはそんなに re:Invent に行くのか?
miu_crescent
PRO
0
250
Everything As Code
yosuke_ai
0
490
Oracle Cloud Infrastructure:2025年12月度サービス・アップデート
oracle4engineer
PRO
0
200
Java 25に至る道
skrb
3
150
Featured
See All Featured
Paper Plane (Part 1)
katiecoart
PRO
0
2.8k
Designing Experiences People Love
moore
143
24k
Become a Pro
speakerdeck
PRO
31
5.8k
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
230
The Limits of Empathy - UXLibs8
cassininazir
1
200
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
9
1k
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
0
34
A Soul's Torment
seathinner
2
2.1k
Navigating Team Friction
lara
191
16k
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
0
1k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
1.7k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
3.9k
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/