Questions tagged [android-pageradapter]

A base class providing the Adapter used to populate pages inside of a ViewPager.

Base class providing the Adapter used to populate pages inside of a ViewPager. You will most likely want to use a more specific implementation of this, such as FragmentPagerAdapter or FragmentStatePagerAdapter.

More information can be found in the documentation of the class.

Tag Usage:

427 questions
-1
votes
1 answer

Using Tabs and Fragments to display my Layouts

i have an existing App and i want to add tabs to navigate between layouts i did found several tutorials and topic on the same subject but am beginner on Android and i found some dificults to do this so i hape if someone can help me do it btw…
-1
votes
2 answers

onClickListner not working for an ImageView In an ActivityAdapterClass that extends PagerAdapter

The onclicklistner is not working in the ActivityAdapterClass that extends PagerAdapter. Can any one help me what I am doing wrong as I am not able to point the mistake. My code is given below:- row_story_details.xml
-1
votes
1 answer

ViewPager - Events in all page occurs only in last page

I have a viewPager with say 4 pages. All 4 pages uses same Xml. When i do an event in 1st page somehow it always triggers in the last page. Here is my PagerAdapter @Override public Object instantiateItem(ViewGroup container, int pos) { View…
hemantsb
  • 2,049
  • 2
  • 20
  • 29
-1
votes
1 answer

Get file name from array list

How would I go about getting the File name from this PageAdapter so I can use it as a string to delete an image. I tried converting viewPager.setCurrentItem(position) to a string, I tried converting viewPager.getCurrentItem(), I tried converting…
-2
votes
1 answer

Multiple images in ListView Row return error

Multiple Images In ListView rows I am trying to make listview which have multiple images in single rows as like below image Error I think i know error because of arrayList<> size is changedwhen i scroll viewPager .... But i have no solution..how…
Vishal Patel
  • 2,931
  • 3
  • 24
  • 60
-3
votes
2 answers

how to load image from sdcard into pager adapter?

I am new to android development, i want to load image from either internal storage/pictures/forldername or sdcard/pictures/foldername with swipe feature as galley. All images should be displayed as swipes. Can I havae an example of some what. Thanks…
SahSantoshh
  • 73
  • 2
  • 12
-4
votes
1 answer

I used PagerAdapter for sliding images its not notifying properly

I used PagerAdapter for sliding images and i added a favorite button too in that sliding image. After clicking favorite button its not getting notified properly image not turns to unfavorite icon. it is for loading api private class…
Aswin N Nair
  • 67
  • 1
  • 9
1 2 3
28
29