Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Otto - An Android Event Bus
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Lucas Albuquerque
December 05, 2015
Technology
150
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Otto - An Android Event Bus
1º Ciclo de Palestras 2015 @ M4U
Lucas Albuquerque
December 05, 2015
More Decks by Lucas Albuquerque
See All by Lucas Albuquerque
Functional Programming on Android: is it possible?
lalbuquerque
0
87
Getting started with Kotlin and Android
lalbuquerque
1
190
DARK : dagger2-anko-rx-kotlin
lalbuquerque
1
450
TDC 2015 - Testes de Unidade com Robolectric
lalbuquerque
0
52
Other Decks in Technology
See All in Technology
AIに会社の文脈を理解させる技術~上流工程・非エンジニアにも広げるハーネスエンジニアリング実践~
ochtum
0
200
カンファレンスに参加した後の浮遊感とセルフケア
pauli
0
270
雪かき部 #7 もう怖くない!SELECT文!
foursue
0
270
Confitura 2026
logico_jp
0
120
キャリアLT今日までそして明日から
kentapapa
1
140
HolmesGPTで始めるSREエージェント入門!プラットフォームの障害調査はAIにお任せ 〜
leveragestech
PRO
0
120
【データ横丁主催】AI Agentがコンテキストを使って仕事をした後、何が残るのか― 組織の経験を次の判断に引き継ぐ「Agent Memory」
shisyu_gaku
2
300
Meet AgentCore Identity Consent Portal
hironobuiga
2
140
PQC移行の今 -- IETF からみた現在地
satokan
4
720
GitHub Agentic Workflows を触ってみる
htkym
2
900
Swap and Memory Reclaim - Squeezing Out More RAM
ennael
PRO
1
1.5k
Lambda MicroVMsは常駐サーバーの代わりに なるか? Kiro Crew を動かして検証してみた / Kiro Crew on Lambda MicroVMs
k_adachi_01
2
340
Featured
See All Featured
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
450
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
290
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
510
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
520
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
470
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.8k
Music & Morning Musume
bryan
48
7.4k
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
1
2k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
250
1.3M
4 Signs Your Business is Dying
shpigford
187
23k
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
580
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/