Hi, I am working on xamarin forms. Where I need to call WEB API, I know how to call API in xamarin forms, but I want to know what is the best way to call web API. Now I have followed MVVM architecture, I am calling my API in the code-behind file of a particular view, is it correct or I Should call in ViewModel? I want to know what is the best way?
↧