I want to display the list with the value I received from the server, but I want to move on without adding the list with my name.

Asked 2 years ago, Updated 2 years ago, 107 views

  for (int i = 0; i < tName.size(); i++) {
        adapter.addItem(tName.get(i), tPhone_number.get(i), tAddress.get(i));

        if (tName.get(i).equals(pref.getString("nickname",""))) {

        }

I will add information such as nickname saved while uploading information on custom listView I don't want to. I'm asking because I don't know how to put it in the if statement. I look forward to your favorable reply.

android java listview

2022-09-22 17:53

1 Answers

Use it + continue


2022-09-22 17:53

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.