void showDetails(int pos) { Cursor c = (Cursor) listAdapter.getItem(pos); showDetails( ContactContract.OBJECT_CONTACT_URI .buildUpon() .appendPath(c.getString(c.getColumnIndex(ContactContract.Columns._ID))) .build()); }
void resolveConflict(int pos) { if (BuildConfig.DEBUG) { Log.d(TAG, "resolve conflicts"); } Cursor c = (Cursor) listAdapter.getItem(pos); int di = c.getColumnIndex(WebData.Object.WD_DATA_ID); String dataID = c.getString(di); resolveConflict(dataID); }