當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。