Go Back   Android Forums > Android Development > Application Development
Application Development Dev lounge for our application developers.

Get excited for the Samsung Galaxy S5! Find everything you need and discuss it in our Galaxy S5 Forum!

test: Reply
 
LinkBack Thread Tools
Old October 30th, 2012, 09:17 AM   #1 (permalink)
New Member
Thread Author (OP)
 
Join Date: Oct 2012
Posts: 1
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default onFling problem

Hi everybody,
i have strange issue using onFling method for sliding between the screens.
I have the application with let`s say 20 views. Right side of the application is kind of buton bar and it`s the same for every screen. I have defined ViewFlipper in xml, but i`m adding/removing views to flipper dynamically, so, flipper always have just one view at the time. I`m using onFling method for sliding between the screens and everything goes smooth when i`m moving from right to left. Other way sometimes work, sometimes not. Particularly, there are two screens different from the others (in sense of header and background)..and they have colorfull graphics but i manage to lower the details level to some 200-300kb (for all images together). When i`m on one of those screens particularly, left to right swipe doesn`t work at all...it cannot even call onFling method (i`m logging events). I`m using standard onFling such can be find on the internet. I`m wondering is there anybody having similar issue and how to fix it?

Ajvan is offline  
Reply With Quote
sponsored links
Reply
Tags
onfling, swipe, viewflipper


Go Back   Android Forums > Android Development > Application Development
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 11:20 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.