Save for later

MVVM & Nested Fragments/Views - ViewModel Contracts

droidcon SF 2019,

As smartphones get more powerful with bigger screens, the complexity of tasks that people want to be able to do with them follows the same growth. Fragments are making a comeback, combined with LiveData and ViewModels. As you adopt these architecture components into your apps, how can you build support for complex use cases with multiple fragments on screen? Should each fragment have a ViewModel? What about custom views? ViewModel Contracts propose the idea of having fragments (and potentially custom views) declare a ViewModel and LiveData via interface to abstract out all of the communication details between nested fragments and their parents. In this talk, Marcos Paulo Damesceno and Bret Erickson explain how to implement them, how architecture components deal with ViewModels, what ViewModelFactories are, and how you can reuse them.
Get Details and Enroll Now

OpenCourser is an affiliate partner of Pluralsight and may earn a commission when you buy through our links.

Get a Reminder

Send to:
Rating Not enough ratings
Length 0.4 hours
Starts On Demand (Start anytime)
Cost $35/month (Access to entire library- free trial available)
From Pluralsight
Instructor droidcon SF
Download Videos On Windows, MacOS, iOS, and Android Pluralsight app
Language English
Tags Software Development

Get a Reminder

Send to:

Similar Courses

Careers

An overview of related careers and their average salaries in the US. Bars indicate income percentile.

Components Rapid Response Engineer $62k

Architecture Analyst $71k

Project Engineer (Electronic Components) $82k

Buyer / Engine & APU Components $85k

Components Research Engineer $93k

Assistant Professor of Architecture and Landscape Architecture $94k

Parts / Components Engineer $104k

Business Architecture $118k

Visiting Assistant Professor of Architecture and Landscape Architecture $119k

Java Architecture $133k

Transformer Components Sales Manager $159k

Common Components Product Manager $171k

Write a review

Your opinion matters. Tell us what you think.

Rating Not enough ratings
Length 0.4 hours
Starts On Demand (Start anytime)
Cost $35/month (Access to entire library- free trial available)
From Pluralsight
Instructor droidcon SF
Download Videos On Windows, MacOS, iOS, and Android Pluralsight app
Language English
Tags Software Development

Similar Courses

Sorted by relevance

Like this course?

Here's what to do next:

  • Save this course for later
  • Get more details from the course provider
  • Enroll in this course
Enroll Now