A simple app using ListViews and Custom Adapter to display a complex list of items.
This app prints the list of IPL Players
and the Teams
that have bid for them with their Bid Amount
. It is just a small interesting concept to implement ListView
using a custom adapter
to display complex data
. The data is chosen randomly using Kotlin Random class.
Player Name | Country |
Glenn Maxwell | AUS |
David Warner | AUS |
Steve Smith | AUS |
Marcus Stoinis | AUS |
Ben Stokes | ENG |
Jos Butler | ENG |
Jofra Archer | ENG |
Jhonny Bairstow | ENG |
AB de Villers | SA |
Faf du Plessis | SA |
Kane Williamson | NZ |
Jimmy Neesham | NZ |
Virat Kohli | IND |
MS Dhoni | IND |
Rohit Sharma | IND |
Hardik Pandya | IND |
Jasprit Bumrah | IND |
Shreyas Iyer | IND |
Shikar Dhawan | IND |
Rishab Pant | IND |
Team Name |
MI |
CSK |
RCB |
KKR |
SRH |
RR |
DC |
KXIP |
The amount bid by the teams for any player is randomly chosen and is in the range [2 , 16]