Lines Matching full:builder
41 -Create a instance of Card.Builder with a tag String that *must* be unique among all cards.
43 Card.Builder builder = new Card.Builder(UNIQUE_TAG_STRING);
45 -Set the properties for your card in the builder. Some properties (title, description, progress type) can also
48 builder.setTitle(String title)
51 All actions *must* be defined through the builder. They can be hidden or shown later again, but they must be defined
52 in the builder before .build() is called.
54 -To implement an action, use Builder.addAction with a label, id, type (Neutral/Positive/Negative) and
59 builder.addAction(actionLabel1, 0, Card.ACTION_NEUTRAL, new Card.CardActionCallback() {
69 final Card card = builder.build(activity);