race604 / react-native-viewpager

[Deprecated] ViewPager component for React Native
1.41k stars 373 forks source link

animation slider gets slow on every slide at end before it sets the screen #155

Open Bipin206 opened 7 years ago

Bipin206 commented 7 years ago

i am using this library and its working fine but the only problem is its gets slow on every slide at the end before the data holds the screen its the slower.

frameworktechnology commented 6 years ago

This happens to me as well. When I slide the image, transition is very very slow. I am trying it on Android. How can i control this speed?

Thanks in advance.

Bipin206 commented 6 years ago

Manage your thread! Make sure your loading data or any processing takes time should be done in background asynchronous.. try to find your frames getting skipped and manage those frames problem solved!

On 15 Jan 2018 3:35 am, "frameworktechnology" notifications@github.com wrote:

This happens to me as well. When I slide the image, transition is very very slow. I am trying it on Android. How can i control this speed?

Thanks in advance.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/race604/react-native-viewpager/issues/155#issuecomment-357546433, or mute the thread https://github.com/notifications/unsubscribe-auth/AUPG_ZS9neX5IQDa6KaMzdbYqi5SAfV_ks5tKnoZgaJpZM4OHiIj .

frameworktechnology commented 6 years ago

@Bipin206 Thanks for your suggestion. I tried to add android:hardwareAccelerated="true" to my manifest it is awesomely smooth now.

codefromrvk commented 2 years ago

If the chrome debugger is open, close it . Then it would work fine.