Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

Differences between ScrollView and ScrollableView?

I'm a bit dense at times, and the docs aren't clearing this up for me. What's the difference between a ScrollView and a ScrollableView? Maybe you could give an example of when I'd use each of them.

— asked November 1st 2010 by Tim Poulsen
  • mobile
  • ui
0 Comments

1 Answer

  • Accepted Answer

    A ScrollableView is similar to the dashboard of the iPhone. It goes left to right and has the page indicator dots at the bottom. Each panel in a ScrollableView is basically a page and an entire page shows on the screen at one time.

    A ScrollView is a container that allows for free scrolling (up/down, left/right) without locking you to the concept of a page. It is more like what happens when you view a PDF or some other large image in a browser for example. It can be moved around a little bit at a time.

    Does that make sense?

    — answered November 1st 2010 by John McKnight
    permalink
    5 Comments
    • Best explanation of the differences between ScrollableView and ScrollView I have ever seen. Very nice, John ;)

      — commented November 1st 2010 by Colton Arabsky
    • Thanks, I try :)

      — commented November 1st 2010 by John McKnight
    • Thanks John! And oops, I've been using a ScrollableView as a ScrollView (scrollable container).

      — commented November 1st 2010 by Tim Poulsen
    • Wow.. That is exactly what I was looking for. Thank you for posting this!

      — commented May 24th 2012 by Joshua Lambert
    • Thanks John! Excellent explanation!!!

      — commented September 26th 2012 by Anand T
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.