Comments (4)
You have to be using the r4 or r5 compat library. The isFakeDragging method
was not present in the earlier revisions. Check your SDK Manager for
updates.
Jake Wharton
http://about.me/jakewharton
On Thu, Dec 15, 2011 at 3:04 PM, Leo Liberman <
[email protected]
wrote:
java.lang.NoSuchMethodError:
android.support.v4.view.ViewPager.isFakeDragging
at
com.viewpagerindicator.TitlePageIndicator.onTouchEvent(TitlePageIndicator.java:480)
at android.view.View.dispatchTouchEvent(View.java:3932)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1015)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1015)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1015)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1015)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1015)
at
com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchTouchEvent(PhoneWindow.java:1784)
at
com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1157)
at android.app.Activity.dispatchTouchEvent(Activity.java:2228)
at
com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:1759)
at android.view.ViewRoot.deliverPointerEvent(ViewRoot.java:2340)
at android.view.ViewRoot.handleMessage(ViewRoot.java:1980)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:150)
at android.app.ActivityThread.main(ActivityThread.java:4293)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:507)
at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:849)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:607)
at dalvik.system.NativeStart.main(Native Method)Is there a minimum API version that may be causing this?
Reply to this email directly or view it on GitHub:
#37
from viewpagerindicator.
I am using android-support-v4.jar, is that what you are referring to? I don't have any updates in sdk manager
from viewpagerindicator.
Yes but there are different revisions to the v4 compat library. Revision 4
added that method to the ViewPager class. If it is not present then you are
using revision 3.
http://developer.android.com/sdk/compatibility-library.html
You can use the one in the project's libs/ folder to ensure you have the
right version.
Jake Wharton
http://about.me/jakewharton
On Thu, Dec 15, 2011 at 3:26 PM, Leo Liberman <
[email protected]
wrote:
I am using android-support-v4.jar, is that what you are referring to? I
don't have any updates in sdk manager
Reply to this email directly or view it on GitHub:
from viewpagerindicator.
Ah ic, ok thanks Jake!
from viewpagerindicator.
Related Issues (20)
- Image from Network support..? HOT 2
- Provide Gradle packaging support
- CirclePageIndicator is drawn outside while pager is swiped to the last position. HOT 1
- CirclePageIndicator doesn't support edit mode HOT 3
- Mark deprecated HOT 5
- There has an error?How do it?Can you give me an answer? HOT 1
- NPE HOT 7
- Indicator is not visible on 5.0 and greater HOT 4
- build gradle dependency missing HOT 4
- Inifivite ViewPager
- Disable tab click dynamically with ViewPager
- Vertical ViewpagerIndicator HOT 3
- Indicator by itens percentage
- cannot resolve symbol 'TestAdapter' in pager.setAdapter(new TestAdapter(getSupportFragmentManager()));
- Disable swipe in CirclePageIndicator HOT 1
- Crash when using color values from styles. HOT 15
- java.lang.NullPointerException HOT 2
- LinePageIndicator --> FloatMath.ceil
- NullPointerException, call beginFakeDrag before fakeDragBy
- listview的ViewPagerIndicator有手势BUG
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from viewpagerindicator.