本文整理匯總了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);
}
}