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
66
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
LLM翻訳ツールの開発と海外のお客様対応等への社内導入事例
gree_tech
PRO
0
430
スプリントレトロスペクティブはチーム観察の宝庫? 〜チームの衝突レベルに合わせたアプローチ仮説!〜
electricsatie
1
140
Flutterでキャッチしないエラーはどこに行く
taiju59
0
210
ソフトウェア エンジニアとしての 姿勢と心構え
recruitengineers
PRO
26
12k
【 LLMエンジニアがヒューマノイド開発に挑んでみた 】 - 第104回 Machine Learning 15minutes! Hybrid
soneo1127
0
240
JuniorからSeniorまで: DevOpsエンジニアの成長ロードマップ
yuriemori
2
350
ライブサービスゲームQAのパフォーマンス検証による品質改善の取り組み
gree_tech
PRO
0
430
Snowflakeの生成AI機能を活用したデータ分析アプリの作成 〜Cortex AnalystとCortex Searchの活用とStreamlitアプリでの利用〜
nayuts
0
140
Language Update: Java
skrb
2
170
iPhone Eye Tracking機能から学ぶやさしいアクセシビリティ
fujiyamaorange
0
190
ZOZOマッチのアーキテクチャと技術構成
zozotech
PRO
2
1.1k
努力家なスクラムマスターが陥る「傍観者」という罠と乗り越えた先に信頼があった話 / 20250830 Takahiro Sasaki
shift_evolve
PRO
2
130
Featured
See All Featured
Building Adaptive Systems
keathley
43
2.7k
Scaling GitHub
holman
463
140k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
Code Reviewing Like a Champion
maltzj
525
40k
It's Worth the Effort
3n
187
28k
Imperfection Machines: The Place of Print at Facebook
scottboms
268
13k
How to Ace a Technical Interview
jacobian
279
23k
Optimizing for Happiness
mojombo
379
70k
Six Lessons from altMBA
skipperchong
28
4k
Site-Speed That Sticks
csswizardry
10
800
Making the Leap to Tech Lead
cromwellryan
134
9.5k
The Language of Interfaces
destraynor
160
25k
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/