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
現地速報! Microsoft Ignite アップデートレポート
kasada
1
460
AI-DLCでソフトウェア開発の速さは 上がったのか?
rfdnxbro
0
150
その修正で本当に速くなったのか? k6とOpenTelemetryで確かめる性能改善 / Performance review with k6 and OpenTelemetry
ymotongpoo
3
440
個人ASを取得して、自宅Kubernetes上のVMをグローバルIPで公開した話
munenick
0
230
こんなに変わった! AWSネットワークの常識
shotashiratori
16
11k
常時稼働エージェントの作り方(Claude公式ブログを資料化)
minorun365
PRO
20
29k
New Relicのアラート対応をClaude Codeで自動修正するワークフローを作った話
manabuseki
2
650
Well, that’s weird…
csswizardry
1
210
「正しいデータ」の定義をAI エージェントとつくるGoogleADKによるデータ品質定義の実践
takaha4k
0
140
MCPでネットワーク障害調査を自動化する前に直すべき3つのこと
yama3133
1
660
ブース設計、 お前もプロダクトだったのか / So Booth Design Was a Product All Along
akihiro0038
0
150
フロントエンドのテストカバレッジは 100%強制がいい
bengo4com
5
2.1k
Featured
See All Featured
The Illustrated Children's Guide to Kubernetes
chrisshort
51
53k
So, you think you're a good person
axbom
PRO
2
2.3k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
2.2k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.9k
Into the Great Unknown - MozCon
thekraken
41
2.8k
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
1.5k
Designing Powerful Visuals for Engaging Learning
tmiket
1
660
Building an army of robots
kneath
307
47k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.4k
The Pragmatic Product Professional
lauravandoore
37
7.5k
Testing 201, or: Great Expectations
jmmastey
46
8.4k
Designing for humans not robots
tammielis
254
26k