2020-09-06 06:06:36 +00:00
|
|
|
package awais.instagrabber.viewmodels;
|
2020-08-29 08:01:42 +00:00
|
|
|
|
|
|
|
import androidx.lifecycle.MutableLiveData;
|
|
|
|
import androidx.lifecycle.ViewModel;
|
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
2021-06-29 02:34:02 +00:00
|
|
|
import awais.instagrabber.repositories.responses.stories.Story;
|
2020-08-29 08:01:42 +00:00
|
|
|
|
|
|
|
public class FeedStoriesViewModel extends ViewModel {
|
2021-06-29 02:34:02 +00:00
|
|
|
private MutableLiveData<List<Story>> list;
|
2020-08-29 08:01:42 +00:00
|
|
|
|
2021-06-29 02:34:02 +00:00
|
|
|
public MutableLiveData<List<Story>> getList() {
|
2020-08-29 08:01:42 +00:00
|
|
|
if (list == null) {
|
|
|
|
list = new MutableLiveData<>();
|
|
|
|
}
|
|
|
|
return list;
|
|
|
|
}
|
|
|
|
}
|