mvvm - Nativescript getViewById from ViewModel -
i used textfield using getviewbyid()
apply native android filters it. how can viewmodel without breaking rules of mvvm architecture?
you cannot access textfield viewmodel without breaking mvvm pattern.
anyway, advice call getviewbyid()
viewmodel set native android filter functionality, since mvvm implementation of nativescript not designated solving problem. doesn't have fear bad practice @ all.
Comments
Post a Comment