How to display total dynamic cardview

See examples, test aia provided in both topics