当前位置: 首页>>代码示例>>Java>>正文


Java FlipLoadingLayout类代码示例

本文整理汇总了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);
		}
	}
}
 
开发者ID:huizai0613,项目名称:handmarkPulltorefreshLibrary,代码行数:18,代码来源:PullToRefreshBase.java

示例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);
	}
}
 
开发者ID:ultrasonic,项目名称:ultrasonic,代码行数:10,代码来源:PullToRefreshBase.java

示例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);
    }
}
 
开发者ID:JackChan1999,项目名称:boohee_v5.6,代码行数:10,代码来源:PullToRefreshBase.java

示例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);
    }
}
 
开发者ID:BigAppOS,项目名称:BigApp_Discuz_Android,代码行数:10,代码来源:PullToRefreshBase.java

示例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);
    }
}
 
开发者ID:BigAppOS,项目名称:BigApp_WordPress_Android,代码行数:13,代码来源:PullToRefreshBase.java

示例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);
	}
}
 
开发者ID:LiuJQ,项目名称:Android-PullToRefresh-Extention,代码行数:12,代码来源:PullToRefreshBase.java

示例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);
    }
}
 
开发者ID:harichen,项目名称:PullToRefreshLibrary,代码行数:11,代码来源:PullToRefreshBase.java

示例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);
	}
}
 
开发者ID:MadKauz,项目名称:starcitizeninfoclient,代码行数:13,代码来源:PullToRefreshBase.java

示例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);
    }
}
 
开发者ID:GMAndroidTeam,项目名称:Android-PullToRefresh,代码行数:12,代码来源:PullToRefreshBase.java

示例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);
    }
}
 
开发者ID:vishnudevk,项目名称:MiBandDecompiled,代码行数:12,代码来源:PullToRefreshBase$AnimationStyle.java


注:本文中的com.handmark.pulltorefresh.library.internal.FlipLoadingLayout类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。