LarsWerkman / QuickReturnListView

A implementation of Roman Nurik's and Nick Butcher's Quick Return UI patern for a listview.
Apache License 2.0
698 stars 187 forks source link

AnimatedFragment for prior api 11 devices #6

Open nirvik66 opened 11 years ago

nirvik66 commented 11 years ago

Hi,

In the AnimatedFragment under the onScroll method, case RETURNING the function getTranslationY() is being used in the last else case,

else if (mQuickReturnView.getTranslationY() != 0 && !noAnimation)

which causes an exception on those devices