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

Popular posts from this blog

android - How to read a column value in parse.com without accessing an object or a pointer -

ios - NSDateFormatter: error in converting date -

timer - Java TimerTask cancel -