How To Implement The Event Bus Pattern With Kotlin SharedFlow In Your Android App

  Рет қаралды 4,718

Yanneck Reiß

Yanneck Reiß

Күн бұрын

Пікірлер: 11
@markusmcgee
@markusmcgee 11 ай бұрын
using this tonight lol. Need to knock out POC by tomorrow. This is part of it.
@yanneckreiss
@yanneckreiss 11 ай бұрын
Good luck, you can do it 😎👍
@willi11319
@willi11319 2 жыл бұрын
amazing, keep up the great work!
@radbaver
@radbaver Жыл бұрын
Amazing content! Thank you for sharing your advice with the community :)
@andresromerodev
@andresromerodev Жыл бұрын
This is awesome, thank you!
@subindsuresh4897
@subindsuresh4897 Жыл бұрын
Thank you bro.
@count7ero
@count7ero Жыл бұрын
i still endorse the old event bus over just about every other pattern. apps have increasing richer and richer widgets that peek at multiple types in the model i.e. an update to a type in the model has an impact in multiple widgets in multiple screens. and you dont know which one will be the first to request an update (the app will not always open by user clicking the icon!!!) e.g. you have a friend list in a friend screen, but on the main screen you may have a menu "Friends 145", a wild notification "12 frends are interested in x" etc. i would never use observable pattern because it short-circuits the response to the source of the request. and to implement this pattern over and over, i would call this much more verbose actually. i would maybe only use observable/livedata/rx if i am bursted updates through a websocket and i consume them all in one place e.g. a list of stock tickers
@EmanNollase
@EmanNollase Жыл бұрын
awesome!!
@nfaical3
@nfaical3 Жыл бұрын
Thanks Can you share the source code ?
@rockerxillodiego
@rockerxillodiego Жыл бұрын
nice
Stream, Event Bus or Queue? What's the Difference?
12:20
James Eastham
Рет қаралды 4 М.
UFC 287 : Перейра VS Адесанья 2
6:02
Setanta Sports UFC
Рет қаралды 486 М.
Hilarious FAKE TONGUE Prank by WEDNESDAY😏🖤
0:39
La La Life Shorts
Рет қаралды 44 МЛН
Kotlin Multiplatform vs Flutter: Which should we use?
4:42
Kei Fujikawa
Рет қаралды 28 М.
Observer | Kotlin design patterns
19:08
Catalin tech
Рет қаралды 5 М.
EventBus and Observer Pattern - Android App Development
15:11
Electronic Armory
Рет қаралды 22 М.
5 Fatal Coroutine Mistakes Nobody Tells You About
18:15
Philipp Lackner
Рет қаралды 89 М.
Should You Use Compose State or StateFlow in Your ViewModels?
13:59
Philipp Lackner
Рет қаралды 84 М.
UFC 287 : Перейра VS Адесанья 2
6:02
Setanta Sports UFC
Рет қаралды 486 М.