Switch branches/tags
Commits on Sep 5, 2012
  1. DashboardView: Not recreating btns on frame change

    rf committed Sep 5, 2012
    Formerly, whenever the frame was changed we would recreate every button;
    this would cause them to be animated from the upper left corner of the
    parent view. By simply calling layoutButtons, we can smoothly animate
    the buttons to their new calculated position on orientation / frame
Commits on Aug 28, 2012
Commits on Aug 20, 2012
  1. DashboardView: accepting rowCount and columnCount.

    rf committed Aug 20, 2012
    Accept rowCount and columnCount properties upon creation.  Default to
    3 rows and 3 columns if not specified, which deviates from the old
Commits on May 13, 2012
Commits on May 11, 2012
  1. Fixing paging indicators & edge case of scrollEnd.

    rf committed May 11, 2012
    The paging indicators broke because I mistakenly made a property
    `mCurIndex` of the page change listener for the `ViewPager`.  Thus, the
    indicators didn't know what page to go to when clicked.  I was also
    checking to see if they needed to be shown at the wrong time; this has
    been corrected by calling `showPager()` whenever we fire a `scrollEnd`.
    This commit also introduces a hacky fix for an edge case of `scrollEnd`.
    If the user drags the view and manually settles it on another view, the
    `onPageScrollStateChanged` handler is never called.  So, we use the
    `onPageSelected` handler in this case; but only if a `dragEnd` event
    wasn't fired beforehand.
Commits on May 9, 2012
  1. Doc fixes for `ScrollableView`.

    rf committed May 9, 2012
    Added "since" for the modified events in `ScrollableView`.  Tried to
    clarify language in some places.
  2. Correcting scroll events for ScrollableView.

    rf committed May 9, 2012
    Instead of using the `onPageSelected` handler of our
    `ViewPager.SimpleOnPageChangeListener` to fire `dragEnd` events, use the
    `onPageScrollStateChanged`.  This will properly fire `dragEnd` events
    even when we haven't actually completed a scroll to another view.
    Instead of using the `position` parameter passed to the `onPageScrolled`
    handler of our `ViewPager.SimpleOnPageChangeListener` alone to determine the
    current index, use it in combination with the `positionOffset`;
    rounding.  This way, we get a value of 2 for the index when we are more
    than halfway scrolled onto page 2.
Commits on May 8, 2012
Commits on May 4, 2012
Commits on May 3, 2012
  1. Fixing `ScrollableView` docs.

    rf committed May 3, 2012
    Adding `dragEnd` event on Android and adding Android to the
    compatibility list for the `scroll` and `scrollEnd` events.
  2. Working the `ScrollableView` events (Android).

    rf committed May 3, 2012
    Renamed the `scroll` event to `dragEnd`.  Implemented the correct
    `scroll` event and the `scrollEnd` event.
  3. Moving & fixing `Scrollable` tests.

    rf committed May 3, 2012
    Moved from `iphone/iphone.ui.js` to `ui.controls.js` because these
    events will be supported on Android as well.
  4. `ScrollableView` event renames.

    rf committed May 3, 2012
    Renamed the following events of `ScrollableView`:
     * `scroll` → `scrollEnd`
     * `scrolling` -> `scroll`
Commits on Apr 30, 2012
  1. `scrolling` event for `ScrollableViews`.

    rf committed Apr 30, 2012
    [TC-827] iOS implementation as well as documentation and testing for an event
    `scrolling` emitted from `ScrollableViews` during scrolling.
Commits on Apr 28, 2012