public class DefaultContentCardsUpdateHandler extends java.lang.Object implements IContentCardsUpdateHandler
Modifier and Type | Field and Description |
---|---|
static android.os.Parcelable.Creator<DefaultContentCardsUpdateHandler> |
CREATOR |
Constructor and Description |
---|
DefaultContentCardsUpdateHandler() |
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
java.util.List<Card> |
handleCardUpdate(ContentCardsUpdatedEvent event)
Handles a
ContentCardsUpdatedEvent and returns a list of cards for rendering. |
void |
writeToParcel(android.os.Parcel dest,
int flags) |
public static final android.os.Parcelable.Creator<DefaultContentCardsUpdateHandler> CREATOR
public java.util.List<Card> handleCardUpdate(ContentCardsUpdatedEvent event)
IContentCardsUpdateHandler
ContentCardsUpdatedEvent
and returns a list of cards for rendering.
Each ContentCardsUpdatedEvent
will contain
the full list of cards from either the cache or from a network request.handleCardUpdate
in interface IContentCardsUpdateHandler
event
- the ContentCardsUpdatedEvent
update.ContentCardsUpdatedEvent
public int describeContents()
describeContents
in interface android.os.Parcelable
public void writeToParcel(android.os.Parcel dest, int flags)
writeToParcel
in interface android.os.Parcelable