Fragment With Custom Arrayadapter And Layout With Multiple Elements
My layout named main_layout has a RelativeLayout with at least two elements like Textview and Imageview inside it. public class SigninFragment extends Fragment { privat
Solution 1:
The method setText() of the TextView class it's overloaded to either use a String or an integer representing an id in the form of R.string.some_text. If item.getId_prof() doesn't return an id then you need to make it a String before setting it as text:
holder.idProfissao.setText("" + item.getId_prof());
Post a Comment for "Fragment With Custom Arrayadapter And Layout With Multiple Elements"