Open in app
Cesar Morigaki
67 Followers
About

Sign in

67 Followers
About
Open in app
StateFlow no lugar de LiveData
215
2

Nelson Glauber

Cesar Morigaki

Cesar Morigaki

Aug 28, 2020·1 min read

Ótimo artigo Glauber!

Nessa troca pro StateFlow estamos perdendo a feature do LiveData que emite o valor apenas no estado ativo (quando a view está visível)

Vê alguma abordagem para conseguir esse mesmo efeito com o StateFlow?

Written by

Cesar Morigaki

Android Developer @iFood

More from Cesar Morigaki

Android Developer @iFood

More From Medium

Replace SingleLiveEvent with kotlin Channel/Flow

Cesar Morigaki

A better way to set RecyclerView items margin

Cesar Morigaki

Replacing LiveData with StateFlow

Cesar Morigaki

The 2500-year-old Technique to Make Ice in the Desert

Mythili the dreamer in Lessons from History

8 weight loss hacks that helped reduce my body fat

Insider in Insider

The “It” That Men Don’t Get

The Good Men Project in Hello, Love

Why Did Trump Install His Loyalists at the Pentagon Before the Capitol Attack?

Lawson Miller in Politically Speaking

You Are Being Lied to About Inflation. It Hasn’t Been 2% for 30 Years (Here’s Proof).

Tim Denning in The Ascent

About

Help

Legal

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store