-
- 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
durationInMins
private final String
locationText
private Boolean
isExpanded
private final String
imageUrl
private String
expandedChildId
private final ArrayList<SearchItemViewModel>
searchResults
private final PositionManager
positionManager
private final PathManager
pathManager
private Poi
poi
private final String
id
private final String
name
private final String
type
-
Constructor Summary
Constructors Constructor Description SearchItemViewModel.PoiGroupViewModel(String id, PoiGroup poiGroup, ArrayList<Poi> childPois, Integer durationInMins, String locationText, Boolean isExpanded, String imageUrl, PositionManager positionManager, PathManager pathManager, ArrayList<SearchItemViewModel> searchResults)
SearchItemViewModel.PoiGroupViewModel(String id, String name, String type, Integer childCount, ArrayList<Poi> childPois, Integer durationInMins, String locationText, Boolean isExpanded, String imageUrl, String expandedChildId, ArrayList<SearchItemViewModel> searchResults, PositionManager positionManager, PathManager pathManager, Poi poi)
-
Method Summary
Modifier and Type Method Description Boolean
getIsGroup()
final Integer
getChildCount()
final ArrayList<Poi>
getChildPois()
Integer
getDurationInMins()
String
getLocationText()
Boolean
getIsExpanded()
Unit
setIsExpanded(Boolean isExpanded)
String
getImageUrl()
String
getExpandedChildId()
Unit
setExpandedChildId(String expandedChildId)
final ArrayList<SearchItemViewModel>
getSearchResults()
final PositionManager
getPositionManager()
final PathManager
getPathManager()
Poi
getPoi()
Unit
setPoi(Poi poi)
final String
getId()
final String
getName()
final String
getType()
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 durationInMins, String locationText, Boolean isExpanded, String imageUrl, PositionManager positionManager, PathManager pathManager, ArrayList<SearchItemViewModel> searchResults)
-
SearchItemViewModel.PoiGroupViewModel
SearchItemViewModel.PoiGroupViewModel(String id, String name, String type, Integer childCount, ArrayList<Poi> childPois, Integer durationInMins, String locationText, Boolean isExpanded, String imageUrl, String expandedChildId, ArrayList<SearchItemViewModel> searchResults, PositionManager positionManager, PathManager pathManager, Poi poi)
-
-
Method Detail
-
getIsGroup
Boolean getIsGroup()
-
getChildCount
final Integer getChildCount()
-
getChildPois
final ArrayList<Poi> getChildPois()
-
getDurationInMins
Integer getDurationInMins()
-
getLocationText
String getLocationText()
-
getIsExpanded
Boolean getIsExpanded()
-
setIsExpanded
Unit setIsExpanded(Boolean isExpanded)
-
getImageUrl
String getImageUrl()
-
getExpandedChildId
String getExpandedChildId()
-
setExpandedChildId
Unit setExpandedChildId(String expandedChildId)
-
getSearchResults
final ArrayList<SearchItemViewModel> getSearchResults()
-
getPositionManager
final PositionManager getPositionManager()
-
getPathManager
final PathManager getPathManager()
-
writeToParcel
Unit writeToParcel(Parcel parcel, Integer flags)
-
describeContents
Integer describeContents()
-
-
-
-