Let's say I have DashboadFragment which has its own ViewModel
named DashboadViewModel
. I have created separate layout for AutoCompleteTextView
which is included in fragment_dashboard.xml
file. I have created separate ViewModel
for AutoCompleteTextView
which is AutoCompleteTextViewViewModel
. So here I have tried to observe the data which are typing in AutoCompleteTextView
into DashboardFragment
but it didn't worked.
I have recently started development in MVVM Pattern.