2020-11-01 06:02:54 +00:00
|
|
|
package awais.instagrabber.viewmodels;
|
|
|
|
|
|
|
|
import androidx.lifecycle.MutableLiveData;
|
|
|
|
import androidx.lifecycle.ViewModel;
|
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
2021-01-08 12:49:48 +00:00
|
|
|
import awais.instagrabber.repositories.responses.discover.TopicCluster;
|
2020-11-01 06:02:54 +00:00
|
|
|
|
|
|
|
public class TopicClusterViewModel extends ViewModel {
|
|
|
|
private MutableLiveData<List<TopicCluster>> list;
|
|
|
|
|
|
|
|
public MutableLiveData<List<TopicCluster>> getList() {
|
|
|
|
if (list == null) {
|
|
|
|
list = new MutableLiveData<>();
|
|
|
|
}
|
|
|
|
return list;
|
|
|
|
}
|
|
|
|
}
|