Hello, I created an xml with a TextView so I insert it into my ListView because I want it to be customized ... But I am not able to retrieve it in my method that is inside the class fragment? Could someone help me?
Dupla.java (class fragment)
public void vectorOne(){
List<String> list = new ArrayList<>();
final ArrayAdapter<String> listing = new ArrayAdapter<String>(getActivity(),
android.R.layout.lita_personalizada_dupla_sena, //nao estou conseguindo
android.R.id.txt_final, //nao estou conseguindo
list
);
listArray.setAdapter(listing);
//restante do code
}
Thank you ....