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
150
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
79
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
Gaussian Splattingの実用化 - 映像制作への展開
gpuunite_official
0
200
エンタープライズの厳格な制約を開発者に意識させない:クラウドネイティブ開発基盤設計/cloudnative-kaigi-golden-path
mhrtech
0
450
20260515 ⾃分のアカウントとプライバシーを守る認証と認可の話〜利⽤者向け〜
oidfj
0
710
O'Reilly Infrastructure & Ops Superstream: Platform Engineering for Developers, Architects & the Rest of Us
syntasso
0
270
Swift Sequence の便利 API 再発見
treastrain
1
290
Purview 勉強会報告 Microsoft Purview 入門しようとしてみた
masakichixo
1
440
Oracle Cloud Infrastructure presents managed, serverless MCP Servers for Oracle AI Database
thatjeffsmith
1
370
既存プロダクトQAから新規プロダクトQAへ
ryotakahashi
0
160
Gaussian Splattingの表現力を拡張する — 高周波再構成とインタラクションへのアプローチ —
gpuunite_official
0
190
[みん強]AIの価値を最大化するデータ基盤戦略:Self-Service型Data Meshへの転換とAgentic AI Meshに向けた取り組み with Snowflake他
y_matsubara
1
130
エムスリーテクノロジーズ株式会社 エンジニア向け紹介資料 / M3 Technologies Company Deck
m3_engineering
0
190
アプリブロック機能のつくりかたと、AIとHTMLの不合理な相性の良さについて
kumamotone
1
260
Featured
See All Featured
Making Projects Easy
brettharned
120
6.6k
Claude Code のすすめ
schroneko
67
220k
From π to Pie charts
rasagy
0
180
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
0
1.4k
The #1 spot is gone: here's how to win anyway
tamaranovitovic
2
1k
Odyssey Design
rkendrick25
PRO
2
620
Six Lessons from altMBA
skipperchong
29
4.2k
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
200
Into the Great Unknown - MozCon
thekraken
41
2.5k
Designing for humans not robots
tammielis
254
26k
RailsConf 2023
tenderlove
30
1.4k
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
420
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/