本文整理汇总了Java中com.handmark.pulltorefresh.library.internal.FlipLoadingLayout类的典型用法代码示例。如果您正苦于以下问题:Java FlipLoadingLayout类的具体用法?Java FlipLoadingLayout怎么用?Java FlipLoadingLayout使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
FlipLoadingLayout类属于com.handmark.pulltorefresh.library.internal包,在下文中一共展示了FlipLoadingLayout类的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: createLoadingLayout
import com.handmark.pulltorefresh.library.internal.FlipLoadingLayout; //导入依赖的package包/类
LoadingLayout createLoadingLayout(Context context, Mode mode,
Orientation scrollDirection, TypedArray attrs) {
switch (this) {
case ROTATE:
default:
return new RotateLoadingLayout(context, mode, scrollDirection,
attrs);
case FLIP:
if (mode == Mode.PULL_FROM_START) {
return new FlipLoadingLayout(context, mode,
scrollDirection, attrs);
} else {
return new FlipLoadingLayout_foot(context, mode,
scrollDirection, attrs);
}
}
}
示例2: createLoadingLayout
import com.handmark.pulltorefresh.library.internal.FlipLoadingLayout; //导入依赖的package包/类
LoadingLayout createLoadingLayout(Context context, Mode mode, Orientation scrollDirection, TypedArray attrs) {
switch (this) {
case ROTATE:
default:
return new RotateLoadingLayout(context, mode, scrollDirection, attrs);
case FLIP:
return new FlipLoadingLayout(context, mode, scrollDirection, attrs);
}
}
示例3: createLoadingLayout
import com.handmark.pulltorefresh.library.internal.FlipLoadingLayout; //导入依赖的package包/类
LoadingLayout createLoadingLayout(Context context, Mode mode, Orientation
scrollDirection, TypedArray attrs) {
switch (this) {
case FLIP:
return new FlipLoadingLayout(context, mode, scrollDirection, attrs);
default:
return new RotateLoadingLayout(context, mode, scrollDirection, attrs);
}
}
示例4: createLoadingLayout
import com.handmark.pulltorefresh.library.internal.FlipLoadingLayout; //导入依赖的package包/类
LoadingLayout createLoadingLayout(Context context, Mode mode, Orientation scrollDirection, TypedArray attrs) {
switch (this) {
case ROTATE:
default:
return new RotateLoadingLayout(context, mode, scrollDirection, attrs);
case FLIP:
return new FlipLoadingLayout(context, mode, scrollDirection, attrs);
}
}
示例5: createLoadingLayout
import com.handmark.pulltorefresh.library.internal.FlipLoadingLayout; //导入依赖的package包/类
LoadingLayout createLoadingLayout(Context context, Mode mode,
Orientation scrollDirection, TypedArray attrs) {
switch (this) {
case ROTATE:
default:
return new RotateLoadingLayout(context, mode, scrollDirection,
attrs);
case FLIP:
return new FlipLoadingLayout(context, mode, scrollDirection,
attrs);
}
}
示例6: createLoadingLayout
import com.handmark.pulltorefresh.library.internal.FlipLoadingLayout; //导入依赖的package包/类
LoadingLayout createLoadingLayout(Context context, Mode mode, Orientation scrollDirection, TypedArray attrs) {
switch (this) {
case ROTATE:
default:
return new RotateLoadingLayout(context, mode, scrollDirection, attrs);
case FLIP:
return new FlipLoadingLayout(context, mode, scrollDirection, attrs);
case GIF:
return new GifLoadingLayout(context, mode, scrollDirection, attrs);
}
}
示例7: createLoadingLayout
import com.handmark.pulltorefresh.library.internal.FlipLoadingLayout; //导入依赖的package包/类
LoadingLayout createLoadingLayout(Context context, Mode mode, Orientation scrollDirection, TypedArray attrs) {
switch (this) {
case ROTATE:
return new RotateLoadingLayout(context, mode, scrollDirection, attrs);
case FLIP:
return new FlipLoadingLayout(context, mode, scrollDirection, attrs);
default:
return new RotateLoadingLayout(context, mode, scrollDirection, attrs);
}
}
示例8: createLoadingLayout
import com.handmark.pulltorefresh.library.internal.FlipLoadingLayout; //导入依赖的package包/类
LoadingLayout createLoadingLayout(Context context, Mode mode,
Orientation scrollDirection, TypedArray attrs) {
switch (this) {
case ROTATE:
default:
return new RotateLoadingLayout(context, mode, scrollDirection,
attrs);
case FLIP:
return new FlipLoadingLayout(context, mode, scrollDirection,
attrs);
}
}
示例9: createLoadingLayout
import com.handmark.pulltorefresh.library.internal.FlipLoadingLayout; //导入依赖的package包/类
LoadingLayout createLoadingLayout(Context context, Mode mode, Orientation scrollDirection, TypedArray attrs) {
switch (this) {
case ROTATE:
default:
return new RotateLoadingLayout(context, mode, scrollDirection, attrs);
case FLIP:
return new FlipLoadingLayout(context, mode, scrollDirection, attrs);
case SCALE_ROTATE:
return new ScaleRotateLoadingLayout(context, mode, scrollDirection, attrs);
}
}
示例10: a
import com.handmark.pulltorefresh.library.internal.FlipLoadingLayout; //导入依赖的package包/类
LoadingLayout a(Context context, e_3B_.clone clone, e_3B_.clone clone1, TypedArray typedarray)
{
switch (f.d[ordinal()])
{
default:
return new RotateLoadingLayout(context, clone, clone1, typedarray);
case 2: // '\002'
return new FlipLoadingLayout(context, clone, clone1, typedarray);
}
}