Open mingfai opened 10 years ago
I forgot that Android 2.x doesn't support ActionBar
. Gmail-style PTR needs ActionBar, but now it seems there is no way to use Gmail-style PTR without extending ActionBarActivity
in "client code".
Because PTR library can't provide a custom Activity only for Gmail-style PTR or the lower version of Android SDK (as you know, the library is just an UI component.).
So, I will accept your suggest.
I modified a sample and it works in Android 4.4 emulator but not 2.3 emulator. In 2.3, it seems the "pull" does take effect but the animation is not shown.
Anyway, an easiest workaround is to make it clear in doc which Android platform version is supported, and ask people to use a different layout for older version.