Searched refs:viewModel (Results 1 – 9 of 9) sorted by relevance
143 MutableMediaBrowserViewModel viewModel = in getInstanceWithMediaBrowser() local145 initMediaBrowser(mediaBrowser, viewModel); in getInstanceWithMediaBrowser()146 return viewModel; in getInstanceWithMediaBrowser()161 RootMediaBrowserViewModel viewModel = in getInstanceForBrowseRoot() local163 initMediaBrowser(mediaSourceVM.getConnectedMediaBrowser(), viewModel); in getInstanceForBrowseRoot() local164 return viewModel; in getInstanceForBrowseRoot()169 MediaBrowserViewModelImpl viewModel) { in initMediaBrowser() argument170 if (viewModel.getMediaBrowserSource() != connectedMediaBrowser) { in initMediaBrowser()171 viewModel.setConnectedMediaBrowser(connectedMediaBrowser); in initMediaBrowser()
93 TelecomActivityViewModel viewModel = ViewModelProviders.of(this).get( in onCreate() local95 mBluetoothErrorMsgLiveData = viewModel.getErrorMessage(); in onCreate()96 mDialerAppStateLiveData = viewModel.getDialerAppState(); in onCreate()99 MutableLiveData<Integer> toolbarTitleMode = viewModel.getToolbarTitleMode(); in onCreate()101 viewModel.getRefreshTabsLiveData().observe(this, this::refreshTabs); in onCreate()
61 InCallViewModel viewModel = ViewModelProviders.of(getActivity()).get(InCallViewModel.class); in onCreateView() local62 viewModel.getCallStateAndConnectTime().observe(this, (pair) -> { in onCreateView()82 mActiveCall = viewModel.getPrimaryCall(); in onCreateView()
199 MediaActivity.ViewModel viewModel = ViewModelProviders.of(mCallbacks.getActivity()).get( in resetState() local203 updateSearchQuery(viewModel.getSearchQuery()); in resetState()205 mBrowseStack = viewModel.getSearchStack(); in resetState()208 mBrowseStack = viewModel.getBrowseStack(); in resetState()
40 public static <T extends ViewModel> void add(Class<T> modelClass, T viewModel) { in add() argument41 VIEW_MODEL_MAP.put(modelClass, viewModel); in add()
55 CallHistoryViewModel viewModel = ViewModelProviders.of(this).get( in onViewCreated() local58 viewModel.getCallHistory().observe(this, uiCallLogs -> { in onViewCreated()
44 ContextualViewModel viewModel = ViewModelProviders.of(this).get(ContextualViewModel.class); in onCreateView() local46 viewModel.getContextualInfo().observe(this, info -> { in onCreateView()
81 TelecomActivityViewModel viewModel = ViewModelProviders.of(getActivity()).get( in setupToolbar() local83 LiveData<String> toolbarTitleLiveData = viewModel.getToolbarTitle(); in setupToolbar()
98 TelecomActivityViewModel viewModel = ViewModelProviders.of(getActivity()).get( in onCreateView() local100 MutableLiveData<Integer> dialerAppStateLiveData = viewModel.getDialerAppState(); in onCreateView()