Upgrade to PRO for Only $50/Year—Limited-Time Offer! 🔥
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
72
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時代の生存戦略〜
staka121
PRO
2
230
会社紹介資料 / Sansan Company Profile
sansan33
PRO
11
390k
AIBuildersDay_track_A_iidaxs
iidaxs
3
400
AWSを使う上で最低限知っておきたいセキュリティ研修を社内で実施した話 ~みんなでやるセキュリティ~
maimyyym
2
1.8k
AI駆動開発における設計思想 認知負荷を下げるフロントエンドアーキテクチャ/ 20251211 Teppei Hanai
shift_evolve
PRO
2
440
Fashion×AI「似合う」を届けるためのWEARのAI戦略
zozotech
PRO
2
990
Sansanが実践する Platform EngineeringとSREの協創
sansantech
PRO
2
960
たまに起きる外部サービスの障害に備えたり備えなかったりする話
egmc
0
330
IAMユーザーゼロの運用は果たして可能なのか
yama3133
2
510
AWSに革命を起こすかもしれない新サービス・アップデートについてのお話
yama3133
0
190
特別捜査官等研修会
nomizone
0
170
コンテキスト情報を活用し個社最適化されたAI Agentを実現する4つのポイント
kworkdev
PRO
1
1.7k
Featured
See All Featured
Why You Should Never Use an ORM
jnunemaker
PRO
61
9.6k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
9.8k
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
63
35k
Git: the NoSQL Database
bkeepers
PRO
432
66k
First, design no harm
axbom
PRO
1
1k
My Coaching Mixtape
mlcsv
0
7
WCS-LA-2024
lcolladotor
0
380
Optimising Largest Contentful Paint
csswizardry
37
3.5k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
The Cult of Friendly URLs
andyhume
79
6.7k
Ruling the World: When Life Gets Gamed
codingconduct
0
92
Context Engineering - Making Every Token Count
addyosmani
9
540
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/