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)
IContentCardsUpdateHandlerContentCardsUpdatedEvent 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 IContentCardsUpdateHandlerevent - the ContentCardsUpdatedEvent update.ContentCardsUpdatedEventpublic int describeContents()
describeContents in interface android.os.Parcelablepublic void writeToParcel(android.os.Parcel dest,
int flags)
writeToParcel in interface android.os.Parcelable