Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8074655
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T14:43:38+00:00 2026-06-05T14:43:38+00:00

Who is is responsible for asynchronous data fetching in MVVM? For example, my view

  • 0

Who is is responsible for asynchronous data fetching in MVVM? For example, my view has 5 different collections of data to fetch, and I would like this to be retrieved asynchornously in predefined order. For this reason I am using Coroutines and Task.

Question: is VM responsible for this, should my model/repository define GetCustomersAsync method, where it would wrap a query in a Task, or that should be left to VM?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T14:43:39+00:00Added an answer on June 5, 2026 at 2:43 pm

    Personally I think the view-model should be responsible for this since this coordinates between the model and view. The model and the repository should be responsible for what they were originally intended for.

    Of course the view-model may hand this type of work off to a helper class.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

If a view contains invalid data, who is responsible for reporting to the controller
Who is responsible to maintain the web controls (ASP:Button) for example that added in
Not sure who is responsible for this error: Exception in thread main java.lang.OutOfMemoryError: PermGen
s:17:thumbnail; s:1:1; a:0:{} a:9:{s:5:title;s:2:-5;s:10:body_field;s:1:0;s:20:revision_information;s:1:3;s:6:author;s:1:2;s:7:options;s:1:4;s:4:menu;s:2:-1;s:4:path;s:1:5;s:12:image_attach;s:2:-4;s:13:path_redirect;s:1:6;} What is the name of this notation? Who is responsible
In some software company, who should be responsible for the UI design: User Designer
Who in the kernel is responsible for killing a process. What if a kill
Who's responsibility is it to encode a string, the model or the view? I've
Who can help me to translate this XML Schema pattern [0-9]+-([0-9]|K) to java regular
I would like to implement a GA-based feature selection program for an SGI UV
What is the life cycle of Temporary file in Android? Who is responsible for

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.