Загрузка страницы

droidcon NYC 2017 - Model-View-Intent for Android

Benoît Quenaudon, Cybozu

Development on Android inevitably involves asynchronous sources, which includes the network, the framework or even the user. This easily leads to a complex architecture and a state that is difficult to manage. Are you comfortable with your users rotating the screen while waiting for a network response? What will happen when multiple requests hit the network at the same time? The Model-View-Intent architecture, borrowed from the web, is all about streams: listening to asynchronous sources, processing the information, and displaying the result. In this architecture, everything is a stream. However, Android is a multi-threaded platform and this introduces additional complexity that we have to take into account when applying the MVI pattern. Unidirectional data flow allows one to focus on a unique source of truth and by embracing immutability, there is no need to worry about data being mutated by other parts of the code. By abstracting away the common pitfalls of state management in Android, this architecture allows the developer to focus on the logic of the app, making it easy to write and easy to maintain. In this talk, we’ll look at how, with Kotlin and RxJava, this reactive architecture can help the developer write a complex UI with concrete examples, including parallel network requests, config changes, SnackBars and more.

https://goo.gl/JdYNFX
droidcon NYC - http://droidcon.nyc
*********************************************
droidcon NYC has become an event where the American and International Android development and design community come together to share what’s new and what they’ve been working on. Our goal is to serve the community and move the Android platform forward.

Organized by droidcon - https://www.droidcon.com/
*********************************************
droidcon is the largest global network of developer conferences which bring together the industry's foremost experts dedicated to advancing the Android platform. droidcon engages a global network of over 25,000 developers attending our events in 26 countries.

Content by touchlab - http://touchlab.co
*********************************************
droidcon NYC content organized by Kevin Galligan, President of touchlab
Android and iOS Mobile App Development / Doppl Open Source Code Sharing Platform / Mobile Innovation Advisory / UIUX Design. Our goal is to keep growing our company by serving the community. Stop by our next meetup: https://www.meetup.com/nyandroiddevelopers/

Big thanks to our video sponsors:
American Express - https://jobs.americanexpress.com/tech
mParticle - https://www.mparticle.com/

Видео droidcon NYC 2017 - Model-View-Intent for Android канала droidcon NYC
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
31 октября 2017 г. 23:20:25
00:32:33
Яндекс.Метрика