com.handmark.pulltorefresh.library.internal.FlipLoadingLayout Java Examples

The following examples show how to use com.handmark.pulltorefresh.library.internal.FlipLoadingLayout. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: PullToRefreshBase.java    From handmarkPulltorefreshLibrary with Apache License 2.0 6 votes vote down vote up
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);
		}
	}
}
 
Example #2
Source File: PullToRefreshBase.java    From ONE-Unofficial with Apache License 2.0 5 votes vote down vote up
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);
	}
}
 
Example #3
Source File: PullToRefreshBase.java    From FacebookNewsfeedSample-Android with Apache License 2.0 5 votes vote down vote up
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);
	}
}
 
Example #4
Source File: PullToRefreshBase.java    From effective_android_sample with Apache License 2.0 5 votes vote down vote up
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);
	}
}
 
Example #5
Source File: PullToRefreshBase.java    From zen4android with MIT License 5 votes vote down vote up
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);
	}
}
 
Example #6
Source File: PullToRefreshBase.java    From PullToRefresh-PinnedSection-ListView with MIT License 5 votes vote down vote up
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);
	}
}
 
Example #7
Source File: PullToRefreshBase.java    From iSCAU-Android with GNU General Public License v3.0 5 votes vote down vote up
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);
	}
}
 
Example #8
Source File: PullToRefreshBase.java    From bmob-android-demo-paging with GNU General Public License v3.0 5 votes vote down vote up
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);
	}
}
 
Example #9
Source File: PullToRefreshBase$AnimationStyle.java    From MiBandDecompiled with Apache License 2.0 5 votes vote down vote up
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);
    }
}
 
Example #10
Source File: PullToRefreshBase.java    From Social with Apache License 2.0 5 votes vote down vote up
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);
	}
}
 
Example #11
Source File: PullToRefreshBase.java    From SweetMusicPlayer with Apache License 2.0 5 votes vote down vote up
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);
	}
}
 
Example #12
Source File: PullToRefreshBase.java    From PullToRefreshLibrary with Apache License 2.0 5 votes vote down vote up
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);
    }
}
 
Example #13
Source File: PullToRefreshBase.java    From GifAssistant with Apache License 2.0 5 votes vote down vote up
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);
	}
}
 
Example #14
Source File: PullToRefreshBase.java    From LbaizxfPulltoRefresh with Apache License 2.0 5 votes vote down vote up
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);
	}
}
 
Example #15
Source File: PullToRefreshBase.java    From FanXin-based-HuanXin with GNU General Public License v2.0 5 votes vote down vote up
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);
	}
}
 
Example #16
Source File: PullToRefreshBase.java    From BigApp_WordPress_Android with Apache License 2.0 5 votes vote down vote up
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);
    }
}
 
Example #17
Source File: PullToRefreshBase.java    From BigApp_Discuz_Android with Apache License 2.0 5 votes vote down vote up
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);
    }
}
 
Example #18
Source File: PullToRefreshBase.java    From sctalk with Apache License 2.0 5 votes vote down vote up
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);
	}
}