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


Java RotateLoadingLayout类代码示例

本文整理汇总了Java中com.handmark.pulltorefresh.library.internal.RotateLoadingLayout的典型用法代码示例。如果您正苦于以下问题:Java RotateLoadingLayout类的具体用法?Java RotateLoadingLayout怎么用?Java RotateLoadingLayout使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


RotateLoadingLayout类属于com.handmark.pulltorefresh.library.internal包,在下文中一共展示了RotateLoadingLayout类的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: createLoadingLayout

import com.handmark.pulltorefresh.library.internal.RotateLoadingLayout; //导入依赖的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.RotateLoadingLayout; //导入依赖的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.RotateLoadingLayout; //导入依赖的package包/类
/**
 * @param clazz Class token is being ignored.
 * @param context
 * @param mode
 * @return {@code RotateLoadingLayout} instance
 */
public static LoadingLayout createLoadingLayout(
		Class<? extends LoadingLayout> clazz, Context context,
		Mode mode, Orientation orientation, TypedArray attrs) {

	return new RotateLoadingLayout(context, mode, orientation, attrs);
}
 
开发者ID:Dnet3,项目名称:CustomAndroidOneSheeld,代码行数:13,代码来源:LoadingLayoutFactory.java

示例4: createLoadingLayout

import com.handmark.pulltorefresh.library.internal.RotateLoadingLayout; //导入依赖的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

示例5: createLoadingLayout

import com.handmark.pulltorefresh.library.internal.RotateLoadingLayout; //导入依赖的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

示例6: createLoadingLayout

import com.handmark.pulltorefresh.library.internal.RotateLoadingLayout; //导入依赖的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

示例7: createLoadingLayout

import com.handmark.pulltorefresh.library.internal.RotateLoadingLayout; //导入依赖的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:bangqu,项目名称:eshow-android,代码行数:10,代码来源:PullToRefreshBase.java

示例8: createLoadingLayout

import com.handmark.pulltorefresh.library.internal.RotateLoadingLayout; //导入依赖的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

示例9: createLoadingLayout

import com.handmark.pulltorefresh.library.internal.RotateLoadingLayout; //导入依赖的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

示例10: createLoadingLayout

import com.handmark.pulltorefresh.library.internal.RotateLoadingLayout; //导入依赖的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

示例11: createLoadingLayout

import com.handmark.pulltorefresh.library.internal.RotateLoadingLayout; //导入依赖的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


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