I would like to create a listview with all bluetooth devices scanned. Each row will contain a connection state of text and clicking it will make the device connect to remote device. How could I update only the single row of remote device being connected in listview so the connection state will keep changing: disconnected -> connecting -> connected for example?
- Update single row only so the row object needs to be passed to updater somehow?
- State needs to keep changing so I need to create a customized listener?
You can take row from ListView at required position and update: