use of it.gmariotti.cardslib.demo.cards.GoogleNowBirthCard in project cardslib by gabrielemariotti.
the class NativeBirthDayCardFragment method init2.
private void init2() {
GoogleNowBirthCard card2 = new GoogleNowBirthCard(getActivity());
card2.setId("myId2");
card2.USE_VIGNETTE = 1;
//Set card in the cardView
CardViewNative cardView2 = (CardViewNative) getActivity().findViewById(R.id.carddemo_cardBirth2);
cardView2.setCard(card2);
}
use of it.gmariotti.cardslib.demo.cards.GoogleNowBirthCard in project cardslib by gabrielemariotti.
the class NativeBirthDayCardFragment method init1.
private void init1() {
//Create a Card
birthCard = new GoogleNowBirthCard(getActivity());
birthCard.setId("myId");
//Set card in the cardView
cardView = (CardViewNative) getActivity().findViewById(R.id.carddemo_cardBirth);
cardView.setCard(birthCard);
}
use of it.gmariotti.cardslib.demo.cards.GoogleNowBirthCard in project cardslib by gabrielemariotti.
the class BirthDayCardFragment method init1.
private void init1() {
//Create a Card
birthCard = new GoogleNowBirthCard(getActivity());
birthCard.setId("myId");
//Set card in the cardView
cardView = (CardView) getActivity().findViewById(R.id.carddemo_cardBirth);
cardView.setCard(birthCard);
}
use of it.gmariotti.cardslib.demo.cards.GoogleNowBirthCard in project cardslib by gabrielemariotti.
the class BirthDayCardFragment method init3.
private void init3() {
GoogleNowBirthCard card3 = new GoogleNowBirthCard(getActivity());
card3.setId("myId3");
card3.USE_VIGNETTE = 2;
//Set card in the cardView
CardView cardView3 = (CardView) getActivity().findViewById(R.id.carddemo_cardBirth3);
cardView3.setCard(card3);
}
use of it.gmariotti.cardslib.demo.cards.GoogleNowBirthCard in project cardslib by gabrielemariotti.
the class NativeBirthDayCardFragment method init3.
private void init3() {
GoogleNowBirthCard card3 = new GoogleNowBirthCard(getActivity());
card3.setId("myId3");
card3.USE_VIGNETTE = 2;
//Set card in the cardView
CardViewNative cardView3 = (CardViewNative) getActivity().findViewById(R.id.carddemo_cardBirth3);
cardView3.setCard(card3);
}
Aggregations