Class SearchItemViewModel.PoiGroupViewModel
-
- All Implemented Interfaces:
-
android.os.Parcelable
public final class SearchItemViewModel.PoiGroupViewModel extends SearchItemViewModel implements Parcelable
ViewModel for PoiGroup including the child Poi list from PoiGroup.poiList
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
SearchItemViewModel.PoiGroupViewModel.CREATOR
-
Field Summary
Fields Modifier and Type Field Description private final Boolean
isGroup
private final Integer
childCount
private final ArrayList<Poi>
childPois
private final Integer
durationInMeters
private final String
locationText
private Boolean
isExpanded
private final String
imageUrl
private String
expandedChildId
private final ArrayList<SearchItemViewModel>
searchResults
private final WeakReference<LocationWorker>
locationWorker
private final PathManager
pathManager
private Poi
poi
private final String
id
private final String
name
private final String
type
public final static SearchItemViewModel.PoiGroupViewModel.CREATOR
CREATOR
-
Constructor Summary
Constructors Constructor Description SearchItemViewModel.PoiGroupViewModel(String id, PoiGroup poiGroup, ArrayList<Poi> childPois, Integer durationInMeters, String locationText, Boolean isExpanded, String imageUrl, WeakReference<LocationWorker> locationWorker, PathManager pathManager, ArrayList<SearchItemViewModel> searchResults)
SearchItemViewModel.PoiGroupViewModel(String id, String name, String type, Integer childCount, ArrayList<Poi> childPois, Integer durationInMeters, String locationText, Boolean isExpanded, String imageUrl, String expandedChildId, ArrayList<SearchItemViewModel> searchResults, WeakReference<LocationWorker> locationWorker, PathManager pathManager, Poi poi)
-
Method Summary
Modifier and Type Method Description Boolean
isGroup()
final Integer
getChildCount()
final ArrayList<Poi>
getChildPois()
Integer
getDurationInMeters()
String
getLocationText()
Boolean
isExpanded()
Unit
setExpanded(Boolean isExpanded)
String
getImageUrl()
String
getExpandedChildId()
Unit
setExpandedChildId(String expandedChildId)
final ArrayList<SearchItemViewModel>
getSearchResults()
final WeakReference<LocationWorker>
getLocationWorker()
final PathManager
getPathManager()
Poi
getPoi()
Unit
setPoi(Poi poi)
String
toString()
Unit
writeToParcel(Parcel parcel, Integer flags)
Integer
describeContents()
Boolean
equals(Object other)
Integer
hashCode()
-
-
Constructor Detail
-
SearchItemViewModel.PoiGroupViewModel
SearchItemViewModel.PoiGroupViewModel(String id, PoiGroup poiGroup, ArrayList<Poi> childPois, Integer durationInMeters, String locationText, Boolean isExpanded, String imageUrl, WeakReference<LocationWorker> locationWorker, PathManager pathManager, ArrayList<SearchItemViewModel> searchResults)
-
SearchItemViewModel.PoiGroupViewModel
SearchItemViewModel.PoiGroupViewModel(String id, String name, String type, Integer childCount, ArrayList<Poi> childPois, Integer durationInMeters, String locationText, Boolean isExpanded, String imageUrl, String expandedChildId, ArrayList<SearchItemViewModel> searchResults, WeakReference<LocationWorker> locationWorker, PathManager pathManager, Poi poi)
-
-
Method Detail
-
getChildCount
final Integer getChildCount()
-
getChildPois
final ArrayList<Poi> getChildPois()
-
getDurationInMeters
Integer getDurationInMeters()
-
getLocationText
String getLocationText()
-
isExpanded
Boolean isExpanded()
-
setExpanded
Unit setExpanded(Boolean isExpanded)
-
getImageUrl
String getImageUrl()
-
getExpandedChildId
String getExpandedChildId()
-
setExpandedChildId
Unit setExpandedChildId(String expandedChildId)
-
getSearchResults
final ArrayList<SearchItemViewModel> getSearchResults()
-
getLocationWorker
final WeakReference<LocationWorker> getLocationWorker()
-
getPathManager
final PathManager getPathManager()
-
writeToParcel
Unit writeToParcel(Parcel parcel, Integer flags)
-
describeContents
Integer describeContents()
-
-
-
-