1 |
gabriel |
1 |
package com.cesams.twogetskills.inconcert.viewmodel;
|
|
|
2 |
|
|
|
3 |
import androidx.lifecycle.MutableLiveData;
|
|
|
4 |
import androidx.lifecycle.ViewModel;
|
|
|
5 |
|
|
|
6 |
import com.cesams.twogetskills.inconcert.viewdata.GalleryRefreshUIViewData;
|
|
|
7 |
|
|
|
8 |
public class GalleryRefreshUIViewModel extends ViewModel {
|
|
|
9 |
|
|
|
10 |
private MutableLiveData<com.cesams.twogetskills.inconcert.viewdata.GalleryRefreshUIViewData> GalleryRefreshUILiveData;
|
|
|
11 |
private GalleryRefreshUIViewData GalleryRefreshUIViewData;
|
|
|
12 |
|
|
|
13 |
public GalleryRefreshUIViewModel() {
|
|
|
14 |
|
|
|
15 |
GalleryRefreshUIViewData = new GalleryRefreshUIViewData();
|
|
|
16 |
|
|
|
17 |
GalleryRefreshUILiveData = new MutableLiveData<>();
|
|
|
18 |
GalleryRefreshUILiveData.setValue(GalleryRefreshUIViewData);
|
|
|
19 |
}
|
|
|
20 |
|
|
|
21 |
public MutableLiveData<GalleryRefreshUIViewData> getGalleryRefreshUIMutableLiveData() {
|
|
|
22 |
return GalleryRefreshUILiveData;
|
|
|
23 |
}
|
|
|
24 |
|
|
|
25 |
public GalleryRefreshUIViewData getGalleryRefreshUIViewData() {
|
|
|
26 |
return GalleryRefreshUIViewData;
|
|
|
27 |
}
|
|
|
28 |
|
|
|
29 |
}
|