Forum Xamarin.Forms

How to implementing mvvm

AsiyehBHLAsiyehBHL USMember ✭✭

Hi.. i'm new to xamarin and mvvm,and confusing about implementing mvvm.
right now i have 8 view and of cource 8 viewmodel for each.
in my viewmodels i have many overlapping code.. i tried messaging center but its just confusing more and it wont handle properties.(at least i don't know how to do this) the Question is what is i separate viewmodels by functionality not by just view.. for example , have one view model for binding , one for data validation , one for services ,and so on....
does it help me to reduce coupling? and sending properties to each page? if yes how to implement it efficiently (LIKE A BOSS) :D
tnx for helping :)



  • DirkWeltzDirkWeltz DEMember ✭✭✭

    Perhaps putting this common things to the model is a solution?

  • AsiyehBHLAsiyehBHL USMember ✭✭

    Nope.. i dont want to save anything before registration..
    additionally i have methods too.. :(

    im missing something but i dont know what is it :neutral:

Sign In or Register to comment.