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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
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
All About Sansan – for New Global Engineers
sansan33
PRO
1
1.3k
量子クラウドサービスの裏側 〜Deep Dive into OQTOPUS〜
oqtopus
0
120
プロポーザルに込める段取り八分
shoheimitani
1
280
StrandsとNeptuneを使ってナレッジグラフを構築する
yakumo
1
120
Red Hat OpenStack Services on OpenShift
tamemiya
0
110
ClickHouseはどのように大規模データを活用したAIエージェントを全社展開しているのか
mikimatsumoto
0
230
ファインディの横断SREがTakumi byGMOと取り組む、セキュリティと開発スピードの両立
rvirus0817
1
1.4k
Introduction to Sansan, inc / Sansan Global Development Center, Inc.
sansan33
PRO
0
3k
【Oracle Cloud ウェビナー】[Oracle AI Database + AWS] Oracle Database@AWSで広がるクラウドの新たな選択肢とAI時代のデータ戦略
oracle4engineer
PRO
2
150
2026年、サーバーレスの現在地 -「制約と戦う技術」から「当たり前の実行基盤」へ- /serverless2026
slsops
2
250
OpenShiftでllm-dを動かそう!
jpishikawa
0
110
セキュリティについて学ぶ会 / 2026 01 25 Takamatsu WordPress Meetup
rocketmartue
1
300
Featured
See All Featured
Testing 201, or: Great Expectations
jmmastey
46
8k
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
170
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
310
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
78
HDC tutorial
michielstock
1
380
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.1k
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
250
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
34
2.6k
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
0
440
Color Theory Basics | Prateek | Gurzu
gurzu
0
200
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
55
3.2k
Deep Space Network (abreviated)
tonyrice
0
49
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/