Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8781833
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T20:24:36+00:00 2026-06-13T20:24:36+00:00

Using sdk version 8, with android-support-v4, I am trying to make implement a PagerAdapter

  • 0

Using sdk version 8, with android-support-v4, I am trying to make implement a PagerAdapter that shows multiple pages at once.

Found some good advice online, that indicated the best way to achieve this is to override the getPageWidth(int) method on PagerAdapter.

http://commonsware.com/blog/2012/08/20/multiple-view-viewpager-options.html

However, PagerAdapter does not have that method in the android-support-v4.jar. I can’t figure out why, since androids own documentation does confirm the existence of that method.

http://developer.android.com/reference/android/support/v4/view/PagerAdapter.html#getPageWidth(int)

The problem of course if that if the method doesn’t exist, it makes no sense to override it as it would never be called.

Any ideas?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T20:24:38+00:00Added an answer on June 13, 2026 at 8:24 pm

    Your JAR is out of date, presumably. Make sure that you are on the latest Android Support package. Or, grab the JAR from the sample project that I linked to in the blog post.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to install an android SDK version using SDK Manager. I am
I'm beginner in Java Android developing. I'm using Eclipse SDK 3.6.1 version. I'm trying
I'm beginner in Java Android developing. I'm using Eclipse SDK 3.6.1 version. I'm trying
Friends, I like to know using which version of Android SDK we can develop
Am using android latest version sdk with 4.1 version emulator in eclipse (Helios) .
Previously I was using an older version of Android SDK Tools , and now
I installed Android sdk version and Andorid ndk . Using Android SDK and AVD
Is there a way to implement interface which doesn't exist in Android SDK version
I am using eclipse and installed android sdk which contains android 2.3.3 version but
I have made my application using android SDK 2.2 version and now when I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.