I am having a strange problem using findViewById(id). It comes back with resource not found even though the resource is definitely there. It is a textview in a layout next t
Exception Message thrown is not very descriptive. Its very much likely the case you are trying to cast the int value to String, applying the below change fixed the issue for me.
Code before the fix:
itemPrice.setText(foodMenuItems.get(position).getItemPrice());
Code after the fix:
itemPrice.setText(Integer.toString(foodMenuItems.get(position).getItemPrice()));