1
Does anyone know why you are giving this problem ? After I changed the name of Googleapiclient it gives this error =/
private GoogleApiClient client;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
listView = (ListView) findViewById(R.id.listView);
adapterClientes = new ArrayAdapter<>(this, android.R.layout.simple_list_item_1, client);
listView.setAdapter(adapterClientes);
listView.setOnItemClickListener(new AdapterView.OnItemClickListener() {
@Override
public void onItemClick(AdapterView<?> a, View v, int position, long id) {
Object o = listView.getItemAtPosition(position);
}
});
Please avoid making mistakes in screenshots, as it makes it impossible for other people with the same problem to find this question, as well as preventing screen reader users from taking advantage of the content.
– Pablo Almeida
@Pabloalmeida why I put the code below.
– Artur Mafezzoli Júnior
But he did not post the message that made you create the question. Whoever looks for it does not find it the way it is.
– Pablo Almeida
Blz dude. Next time I copy the bug and put it in my hand here. Thanks
– Artur Mafezzoli Júnior