Thursday, February 20, 2014
PagerAdapter in the isViewFromObject () method is what does this mean?
PagerAdapter in the isViewFromObject () method is what is meant, be sure to write return view == object you, how to understand this method?<-! Main posts under Banner (D4) -><-! Posts under the main text (D5) ->
Reply:
From the top. . .
Reply:
I would also like to ask, no answer
Reply:
This post last edited by the BAN_NIAN
at 2013-11-5 15:08
@ Override public boolean isViewFromObject (View arg0, Object arg1) {
return arg0 == ((your_item_layout) arg1);
}
For instance, your item outermost layout file is FrameLayout, then return arg0 == ((FrameLayout) arg1);
Reply:
How to understand this, when it will be called? ? The same question?
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment