com.example.google.playservices.placepicker.cardstream.CardStreamFragment

Here are the examples of the java api class com.example.google.playservices.placepicker.cardstream.CardStreamFragment taken from open source projects.

1. PlacePickerFragment#onResume()

Project: android-play-places
File: PlacePickerFragment.java
@Override
public void onResume() {
    super.onResume();
    // Check if cards are visible, at least the picker card is always shown.
    CardStreamFragment stream = getCardStream();
    if (stream.getVisibleCardCount() < 1) {
        // No cards are visible, sample is started for the first time.
        // Prepare all cards and show the intro card.
        initialiseCards();
        // Show the picker card and make it non-dismissible.
        getCardStream().showCard(CARD_PICKER, false);
    }
}