Scrolling and flinging.

Put problem concerning Views, Layouts and other XML-Resources (like AndroidManifest) here.

Scrolling and flinging.

Postby avolovoy » Wed Jan 21, 2009 7:04 am

Hi all , i'm looking for the best solution to implement something like google scoreboard does ( or home screen with indefinite screens )
So what i'm planning doing have a custom class extending the ViewGroup or LinearLayout and implementing OnTouchListener,
OnGestureListener
And then adding child views ( let's say textViews)
My problem is that i don't want to load all the views and add them to the ViewGroup, I want only 3 at the time and after scroll or fling reset previuos and next view to the new ones. How i do that ? It's basically functionality of the workspace ( home screen ) but with unlimited views.
Alexey Volovoy
Bytesharp.NET
User avatar
avolovoy
Experienced Developer
Experienced Developer
 
Posts: 68
Joined: Mon Nov 03, 2008 10:32 pm
Location: kansas

Top

Postby Emmanuel7 » Wed Jan 21, 2009 10:00 am

psKink has already done a nice version of this widget.

check it here
Emmanuel7
Senior Developer
Senior Developer
 
Posts: 164
Joined: Fri Dec 12, 2008 2:17 am
Location: Paris

Top

Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: No registered users and 2 guests