Restapi Data get the server in the Android app MVVM model layer(repository) with a background thread Executors Services background Thread public static Context context ; public static Upcomming_movie_repository upcomming_movie_repositoryinstance ; public static List < Result > mresult ; private static Upcomingmovie upcomingmovie ; private static MutableLiveData < List < Result >> mutableLiveData ; public static Upcomming_movie_repository getInstance ( Context mcontext) { if ( upcomming_movie_repositoryinstance == null ) { upcomming_movie_repositoryinstance = new Upcomming_movie_repository(); context = mcontext; } return upcomming_movie_repositoryinstance ; } public MutableLiveData < List < Result >> getupcommingmovie () { if ( mutableLiveData == null ) { mutableLiveData = new MutableLiveData<>(); } int courses = Runtime . getRuntime ().availableProcessors(); Log . d ( "available_proces...