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
Lucas Albuquerque
December 05, 2015
Technology
160
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
Transcript
21 slides
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/
More Decks by Lucas Albuquerque
See All by Lucas Albuquerque
Functional Programming on Android: is it possible?
lalbuquerque
0
96
Getting started with Kotlin and Android
lalbuquerque
1
200
DARK : dagger2-anko-rx-kotlin
lalbuquerque
1
460
TDC 2015 - Testes de Unidade com Robolectric
lalbuquerque
0
54
Other Decks in Technology
See All in Technology
Webメール開発を大幅に変えたJMAPというゲームチェンジャー
tascript
1
260
Welcome JXL!
dynamis
0
120
AIフレンドリーなGenerative UIをJSXで
uhyo
2
140
AWS Client VPNの設定でハマったポイントとその過程での気づき
amarelo_n24
1
440
Context parameters で作る!はじめての型クラス
kworkdev
PRO
1
180
その修正で本当に速くなったのか? k6とOpenTelemetryで確かめる性能改善 / Performance review with k6 and OpenTelemetry
ymotongpoo
3
440
IP重複は"ランディングVPC"で受け止める ― PrivateLink と Transit Gatewayによるマルチテナント接続基盤の設計
hatahata021
3
270
OCI Artifact による自動運転タクシーに向けた OTA 基盤の構築
biwashi
1
300
Libérez Firefox et Thunderbird avec nos astuces
hellosct1
0
110
Web Performance Is a Journey [PerfNow 2026]
tammyeverts
2
150
gradle-best-practices 使ってみた
mikanichinose
0
230
Del vibe coding a un Desarrollo (agéntico) fiable
jcabot
0
220
Featured
See All Featured
The World Runs on Bad Software
bkeepers
PRO
72
12k
How to Talk to Developers About Accessibility
jct
2
630
Making Projects Easy
brettharned
120
6.9k
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
320
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
56k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
7.1k
Amusing Abliteration
ianozsvald
1
400
A Tale of Four Properties
chriscoyier
163
24k
The browser strikes back
jonoalderson
0
2k
The SEO Collaboration Effect
kristinabergwall1
1
630
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
1
250
The Mindset for Success: Future Career Progression
greggifford
PRO
0
570