×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Oct 2011
    Posts
    34

    Dragging a list like iphone or android

    When I need to drag a list, I mark the position that the user pressed and when he/she moves his/her finger, I change the "style.top" of the list. When the user slides his finger fastly and removes his/her finger from the screen, the list doesn't continue moving. I want it to move some more and then stop like applications of apple or android. I assume that isn't possible, but I wanted to give it a try Thanks,
    Onur

  2. #2
    Nokia Developer Expert
    Join Date
    Jun 2008
    Location
    Tampere
    Posts
    833

    Re: Dragging a list like iphone or android

    Hi,

    If you get the correct values for movement (dragging) you could try to do calculations for velocity and deceleration (friction).

    This thread might give some ideas for implementation
    http://stackoverflow.com/questions/3...e-acceleration

    Haven't tested this one though

    Br,
    Ilkka

  3. #3
    Registered User
    Join Date
    Oct 2011
    Posts
    34

    Re: Dragging a list like iphone or android

    that's like reinventing the wheel I'll give it a go if I have to, thanks

Similar Threads

  1. Nokia Qt for IPhone & Android
    By somnathbanik in forum General Development Questions
    Replies: 7
    Last Post: 2010-12-16, 14:42
  2. iphone vs Android. Who will win and why?
    By i0you in forum Symbian
    Replies: 0
    Last Post: 2009-08-12, 17:21
  3. iphone vs Android. Who will win and why?
    By i0you in forum General Development Questions
    Replies: 0
    Last Post: 2009-08-07, 20:08
  4. iphone vs Android. Who will win and why?
    By i0you in forum General Development Questions
    Replies: 0
    Last Post: 2009-08-06, 16:47
  5. iphone vs Android. Who will win and why?
    By i0you in forum General Development Questions
    Replies: 0
    Last Post: 2009-08-05, 17:29

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×