Monday, April 14, 2014

Gridview row to achieve an infinite loop, four data, end to end


Master clouds, quickly tell me
<-! Main posts under Banner (D4) -><-! Posts under the main text (D5) ->
Reply:
Who is the master of clouds?
Reply:

Reply:
Infinite loop. . . . With a whle loop does not listen to add data, the problem is simply not up and running, ah, has been parked in loading the data side. But you can do this, there is a button to click once to increase 4, this can be considered radio, right?
Reply:
Many of the above Mother
Reply:
public int getCount () {
return Integer.MAX_VALUE;
}
You look into this
Reply:
references, 5th Floor yujunyao0811 reply:
public int getCount () {
return Integer.MAX_VALUE;
}
You changed so look


How to set line, set the maximum, will be displayed full screen
Reply:
references, 4th Floor doveqian reply:
degrees above your mother a lot


You give to find a.
Reply:
public int getCount () {
return Integer.MAX_VALUE;
}

public View getView (int position, View convertView, ViewGroup parent) {

.....

ImageView iv = position% 4 ;/ / modulo

...

}
Reply:
And then return to touch a large number of

No comments:

Post a Comment