mirror of https://github.com/KokaKiwi/BarInsta
20 lines
498 B
Java
20 lines
498 B
Java
package awais.instagrabber.viewmodels;
|
|
|
|
import androidx.lifecycle.MutableLiveData;
|
|
import androidx.lifecycle.ViewModel;
|
|
|
|
import java.util.List;
|
|
|
|
import awais.instagrabber.repositories.responses.discover.TopicCluster;
|
|
|
|
public class TopicClusterViewModel extends ViewModel {
|
|
private MutableLiveData<List<TopicCluster>> list;
|
|
|
|
public MutableLiveData<List<TopicCluster>> getList() {
|
|
if (list == null) {
|
|
list = new MutableLiveData<>();
|
|
}
|
|
return list;
|
|
}
|
|
}
|