|
|
@@ -39,8 +39,6 @@ import android.widget.LinearLayout;
|
|
|
import com.handmark.pulltorefresh.library.internal.FlipLoadingLayout;
|
|
|
import com.handmark.pulltorefresh.library.internal.LoadingLayout;
|
|
|
import com.handmark.pulltorefresh.library.internal.RotateLoadingLayout;
|
|
|
-import com.handmark.pulltorefresh.library.internal.TweenAnimLoadingLayout;
|
|
|
-import com.handmark.pulltorefresh.library.internal.TweenAnimPullLayout;
|
|
|
import com.handmark.pulltorefresh.library.internal.Utils;
|
|
|
import com.handmark.pulltorefresh.library.internal.ViewCompat;
|
|
|
|
|
|
@@ -1393,12 +1391,12 @@ public abstract class PullToRefreshBase<T extends View> extends LinearLayout imp
|
|
|
switch (this) {
|
|
|
case ROTATE:
|
|
|
default:
|
|
|
-// return new RotateLoadingLayout(context, mode, scrollDirection, attrs); 老版本刷新
|
|
|
- if (mode.showFooterLoadingLayout()){
|
|
|
+ return new RotateLoadingLayout(context, mode, scrollDirection, attrs); //老版本刷新
|
|
|
+ /*if (mode.showFooterLoadingLayout()){
|
|
|
return new TweenAnimLoadingLayout(context, mode, scrollDirection, attrs);
|
|
|
}else if (mode.showHeaderLoadingLayout()){
|
|
|
return new TweenAnimPullLayout(context, mode, scrollDirection, attrs);
|
|
|
- }
|
|
|
+ }*/
|
|
|
case FLIP:
|
|
|
return new FlipLoadingLayout(context, mode, scrollDirection, attrs);
|
|
|
}
|