//Search filter with ListView changes item positions, need exact item IDs for other activity int itemId = (int) retailerAdapter.getItemId(position); mRetailerId = mRetailerBeanList.get(itemId).getId();