Home > Mobile >  AS the number of how use the listView control display and modify content?
AS the number of how use the listView control display and modify content?

Time:12-02

In the activity, after using a listView display content is too much, want to show only two, do not know how to change
Clearly changed the content, but still has not changed, the code also does not have an error

CodePudding user response:

Eldest brother this is a preview view, the real show is based on the data you fill,

CodePudding user response:

Fill the data in it

CodePudding user response:

reference 1st floor Write_BUG small expert replies:
eldest brother which is a preview, view is based on your data of the real show the filling,

Figure 2 string inside filled with characters

CodePudding user response:

You run into your simulator or look at mobile phones

CodePudding user response:

The most critical adapter, adpater didn't you realize?

CodePudding user response:

ListView a list view, not directly show what you want in the adapter specific writing style do you want to display

CodePudding user response:

You

reference qq_46357466 reply: 3/f
Quote: refer to 1st floor Write_BUG small expert replies:
eldest brother which is a preview, view real display is based on your data populated,

Figure 2 string fill inside the characters o
figure 2 it is to fill?? , you don't have the adapter brothers to populate the data
  • Related