public abstract static class BLEConnectionService.BaseLeDeviceAdapter
extends BaseAdapter
| Modifier and Type | Field and Description |
|---|---|
LayoutInflater |
mInflator |
java.util.ArrayList<java.lang.Integer> |
mLeDeviceRssi |
java.util.ArrayList<BluetoothDevice> |
mLeDevices |
| Constructor and Description |
|---|
BaseLeDeviceAdapter(LayoutInflater inflater) |
| Modifier and Type | Method and Description |
|---|---|
void |
addDevice(BluetoothDevice device,
int rssi) |
void |
clear() |
int |
getCount() |
BluetoothDevice |
getDevice(int position) |
java.lang.Object |
getItem(int i) |
long |
getItemId(int i) |
abstract View |
getView(int i,
View view,
ViewGroup viewGroup) |
public LayoutInflater mInflator
public java.util.ArrayList<BluetoothDevice> mLeDevices
public java.util.ArrayList<java.lang.Integer> mLeDeviceRssi
public void addDevice(BluetoothDevice device,
int rssi)
public BluetoothDevice getDevice(int position)
public void clear()
public int getCount()
public java.lang.Object getItem(int i)
public long getItemId(int i)
public abstract View getView(int i,
View view,
ViewGroup viewGroup)