All Products
Search
Document Center

Bank card item component

Last Updated: May 25, 2021

The AUBankCardItem component is used to provide bank card entries such as the bank name, bank logo, and bank account number.

Sample image

Dependency

See Quick start.

API description

 
  1. /**
  2. * Get the bank name view.
  3. * @return
  4. */
  5. public AUEmptyGoneTextView getBankName();
  6. /**
  7. * Get the bank account view.
  8. * @return
  9. */
  10. public AUEmptyGoneTextView getBankNumber();
  11. /**
  12. * Get the bank logo view.
  13. * @return
  14. */
  15. public AUCircleImageView getBankImage();
  16. /**
  17. * Set the bank name and account number simultaneously.
  18. * @param bankName
  19. * @param bankNum
  20. */
  21. public void setBankInfo(String bankName, String bankNum) ;

Sample code

 
  1. AUBankCardItem cardItem = new AUBankCardItem(this);
  2. cardItem.setBankInfo("Bank name","Last 4 digits");
  3. cardItem.getBankImage().setImageResource(R.drawable.image);