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
140
0
Share
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
77
Getting started with Kotlin and Android
lalbuquerque
1
180
DARK : dagger2-anko-rx-kotlin
lalbuquerque
1
450
TDC 2015 - Testes de Unidade com Robolectric
lalbuquerque
0
45
Other Decks in Technology
See All in Technology
Azure Speech で音声対応してみよう
kosmosebi
0
140
インターネットの技術 / Internet technology
ks91
PRO
0
120
Azure Lifecycle with Copilot CLI
torumakabe
3
950
AIを共同作業者にして書籍を執筆する方法 / How to Write a Book with AI as a Co-Creator
ama_ch
2
110
システムは「動く」だけでは 足りない - 非機能要件・分散システム・トレードオフの基礎
nwiizo
29
9.2k
NgRx SignalStore: The Power of Extensibility
rainerhahnekamp
0
230
名刺メーカーDevグループ 紹介資料
sansan33
PRO
0
1.1k
AWS認定資格は本当に意味があるのか?
nrinetcom
PRO
1
240
JOAI2026講評会資料(近藤佐介)
element138
1
130
新メンバーのために、シニアエンジニアが環境を作る時代
puku0x
0
1k
Do Ruby::Box dream of Modular Monolith?
joker1007
0
100
AI時代における技術的負債への取り組み
codenote
0
320
Featured
See All Featured
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8k
Between Models and Reality
mayunak
3
260
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.8k
jQuery: Nuts, Bolts and Bling
dougneiner
66
8.4k
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
140
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
330
Amusing Abliteration
ianozsvald
1
150
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
210
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
220
Building a Modern Day E-commerce SEO Strategy
aleyda
45
9k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
2.8k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
34
2.7k
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/