Definition at line 29 of file ShortcutsViewModel.java.
◆ ShortcutsViewModel()
| com.freerdp.freerdpcore.presentation.ShortcutsViewModel.ShortcutsViewModel |
( |
@NonNull Application |
application | ) |
|
|
inline |
Definition at line 36 of file ShortcutsViewModel.java.
37 {
38 super(application);
39 manualBookmarkGateway =
40 new ManualBookmarkGateway(AppDatabase.getInstance(application).bookmarkDao());
41 }
◆ getBookmarks()
| LiveData< List< BookmarkBase > > com.freerdp.freerdpcore.presentation.ShortcutsViewModel.getBookmarks |
( |
| ) |
|
|
inline |
◆ loadBookmarks()
| void com.freerdp.freerdpcore.presentation.ShortcutsViewModel.loadBookmarks |
( |
| ) |
|
|
inline |
Definition at line 48 of file ShortcutsViewModel.java.
49 {
50 executor.execute(() -> bookmarks.postValue(manualBookmarkGateway.findAll()));
51 }
◆ onCleared()
| void com.freerdp.freerdpcore.presentation.ShortcutsViewModel.onCleared |
( |
| ) |
|
|
inlineprotected |
The documentation for this class was generated from the following file: