Definition at line 24 of file ShortcutsViewModel.java.
◆ ShortcutsViewModel()
| com.freerdp.freerdpcore.presentation.ShortcutsViewModel.ShortcutsViewModel |
( |
@NonNull Application |
application | ) |
|
|
inline |
Definition at line 31 of file ShortcutsViewModel.java.
32 {
33 super(application);
34 manualBookmarkGateway =
35 new ManualBookmarkGateway(AppDatabase.getInstance(application).bookmarkDao());
36 }
◆ getBookmarks()
| LiveData< List< BookmarkBase > > com.freerdp.freerdpcore.presentation.ShortcutsViewModel.getBookmarks |
( |
| ) |
|
|
inline |
◆ loadBookmarks()
| void com.freerdp.freerdpcore.presentation.ShortcutsViewModel.loadBookmarks |
( |
| ) |
|
|
inline |
Definition at line 43 of file ShortcutsViewModel.java.
44 {
45 executor.execute(() -> bookmarks.postValue(manualBookmarkGateway.findAll()));
46 }
◆ onCleared()
| void com.freerdp.freerdpcore.presentation.ShortcutsViewModel.onCleared |
( |
| ) |
|
|
inlineprotected |
The documentation for this class was generated from the following file: