Code example for NeighboringCellInfo

Methods: getCid, getLac, getRssi

0
            } 
 
            NeighboringCellInfo item = getItem(position);
 
            // create list item caption 
            String caption = "[" + position + "] Cell ID: " + item.getCid() + ", LAC: " + item.getLac();
 
            // create list item description 
            String text = "RSSI: " + item.getRssi();
 
            // update text fields 
            ((TextView) convertView.findViewById(android.R.id.text1)).setText(caption);
            ((TextView) convertView.findViewById(android.R.id.text2)).setText(text);
 
            return convertView;
        } 
 
        @Override 
        public long getItemId(int position) {
            return position;
        }