Skip to content

KetanBhangale/viewModel-passing-data-between-Fragmments

Repository files navigation

viewModel-passing-data-between-Fragmments

Passing/Sharing data between fragments using ViewModel.

This simple example demostrate creating a viewmodel and sharing data between fragment A and Fragment B using viewmodel.

Data is passed between the fragments and set to edit text.

App also uses view binding concept.

About

Passing data between Fragments by sharing ViewModel

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages