Searched refs:mArrayList (Results 1 – 1 of 1) sorted by relevance
36 private ArrayList<ScanResult> mArrayList; field in ScanResultAdapter46 mArrayList = new ArrayList<>(); in ScanResultAdapter()51 return mArrayList.size(); in getCount()56 return mArrayList.get(position); in getItem()61 return mArrayList.get(position).getDevice().getAddress().hashCode(); in getItemId()76 ScanResult scanResult = mArrayList.get(position); in getView()94 for (int i = 0; i < mArrayList.size(); i++) { in getPosition()95 if (mArrayList.get(i).getDevice().getAddress().equals(address)) { in getPosition()114 mArrayList.set(existingPosition, scanResult); in add()117 mArrayList.add(scanResult); in add()[all …]