samples/ViewPager2Demos/src/main/java/com/example/androidx/viewpager2/cards/CardView.java
public void bind(Card card) {
        mTextSuite.setText(Character.toString(card.getSuit()));

        String cornerLabel = card.getCornerLabel();
        mTextCorner1.setText(cornerLabel);
        mTextCorner2.setText(cornerLabel);
        mTextCorner2.setRotation(180);
    }
/**
     * Updates the view to represent the passed in card
     */
Updates the view to represent the passed in card
Updates the view to represent the passed in card
public void bind(Card card) {
        mTextSuite.setText(Character.toString(card.getSuit()));
        String cornerLabel = card.getCornerLabel();
        mTextCorner1.setText(cornerLabel);
        mTextCorner2.setText(cornerLabel);
        mTextCorner2.setRotation(180);
    }
public void bind ( Card card ) { mTextSuite . setText ( Character . toString ( card . getSuit ( ) ) ) ; String cornerLabel = card . getCornerLabel ( ) ; mTextCorner1 . setText ( cornerLabel ) ; mTextCorner2 . setText ( cornerLabel ) ; mTextCorner2 . setRotation ( 180 ) ; }
Updates the view to represent the passed in card
Updates the view to represent the passed in card