Understanding PagerAdapter in android -
what method
isviewfromobject(view v,object obj)
? everytime have implemented , has been below:-@override public boolean isviewfromobject(view view, object object) { return (view==object); }
considering passing in string urls pageradapter , , instantiate view , add container dynamically using
instantiateitem()
, how provide implementationgetitemposition(object object)
. understand object passedgetitemposition
view returnedinstantiateitem
. of course can add tag views instantiated ininstantiateitem()
, there other way of getting position of thestring
passedpageradapter
.
please let me know if not clear, can post again if needed.
Comments
Post a Comment