|
YAACC - UPNP Client and Server
|
Receiver tab list. More...


Classes | |
| class | ViewHolder |
Public Member Functions | |
| BrowseReceiverDeviceAdapter (Context ctx, UpnpClient upnpClient, RecyclerView devicesListView, Collection< Device<?, ?, ?> > devices, Collection< Device<?, ?, ?> > selectedDevices) | |
| int | getItemCount () |
| Device<?, ?, ?> | getItem (int position) |
| long | getItemId (int position) |
| BrowseReceiverDeviceAdapter.ViewHolder | onCreateViewHolder (ViewGroup parent, int viewType) |
| void | onBindViewHolder (@NonNull ViewHolder holder, int listPosition, @NonNull List< Object > payloads) |
| void | onBindViewHolder (final BrowseReceiverDeviceAdapter.ViewHolder holder, final int listPosition) |
| void | setDevices (List< Device<?, ?, ?> > devices) |
| void | addSelectedDevice (Device<?, ?, ?> device) |
| void | removeSelectedDevice (Device<?, ?, ?> device) |
| void | onGroupStateChanged (String udn) |
| The power, input or group of a device with group support changed: rebinds that row's status part. | |
| void | updateStatus (RendererStatus status) |
| void | sortAndNotify () |
| void | updateLocalDeviceStatus () |
Receiver tab list.
Row binding lives in ReceiverRowBinder; this adapter keeps the device list, its order and the selection.