Class MainViewModel


  • public class MainViewModel
    extends AndroidViewModel
    Serves as the ViewModel for all fragments except the GameFragment.
    • Constructor Detail

      • MainViewModel

        public MainViewModel​(@NonNull
                             Application application)
        The constructor initializes repositories, services, and other elements needed by the ViewModel.
        Parameters:
        application - The CardCombat application.