Comcast / FreeFlow

A layout engine for Android that decouples layouts from the View containers that manage scrolling and view recycling. FreeFlow makes it really easy to create custom layouts and beautiful transition animations as data and layouts change
Apache License 2.0
2.4k stars 393 forks source link

Where shouldRecalculateScrollWhenComputingLayout will be reset? #84

Open ypresto opened 9 years ago

ypresto commented 9 years ago

shouldRecalculateScrollWhenComputingLayout flag is set by dataInvalidated() or dataInvalidated(false) but after that it is always false, and seems to affect to view port recalculation.

    protected void computeLayout(int w, int h) {
        mLayout.prepareLayout();
        if (shouldRecalculateScrollWhenComputingLayout) {
            computeViewPort(mLayout);
        }