postInvalidateDelayed ( )源码实例Demo

android.view.View#postInvalidateDelayed ( )源码实例Demo

下面列出了android.view.View#postInvalidateDelayed ( ) 实例代码,或者点击链接到github查看源代码,也可以在右侧发表评论。

源代码1 项目: geoar-app   文件: DataSourceListAdapter.java
@Override
	public View getGroupView(int groupPosition, boolean isExpanded, View view,
			ViewGroup parent) {
		DataSourceHolder dataSource = mDataSources.get(groupPosition);

		View groupView = dataSource.instanceable() ? getDataSourceView(dataSource,
				groupPosition, isExpanded, view, parent)
				: getDataSourceInstanceView(dataSource.getInstances().get(0),
						view, parent);

		if (dataSource.instanceable()) {
//			return getDataSourceView(dataSource, groupPosition, isExpanded,
//					view, parent);
		} else {
//			return getDataSourceInstanceView(dataSource.getInstances().get(0),
//					view, parent);
		}
		groupView.postInvalidateDelayed(50);
		return groupView;
	}
 
源代码2 项目: StockChart-MPAndroidChart   文件: Utils.java
/**
 * Original method view.postInvalidateOnAnimation() only supportd in API >=
 * 16, This is a replica of the code from ViewCompat.
 *
 * @param view
 */
@SuppressLint("NewApi")
public static void postInvalidateOnAnimation(View view) {
    if (Build.VERSION.SDK_INT >= 16) {
        view.postInvalidateOnAnimation();
    } else {
        view.postInvalidateDelayed(10);
    }
}
 
源代码3 项目: Ticket-Analysis   文件: Utils.java
/**
 * Original method view.postInvalidateOnAnimation() only supportd in API >=
 * 16, This is a replica of the code from ViewCompat.
 *
 * @param view
 */
@SuppressLint("NewApi")
public static void postInvalidateOnAnimation(View view) {
    if (Build.VERSION.SDK_INT >= 16)
        view.postInvalidateOnAnimation();
    else
        view.postInvalidateDelayed(10);
}
 
源代码4 项目: android-kline   文件: Utils.java
/**
 * Original method view.postInvalidateOnAnimation() only supportd in API >=
 * 16, This is a replica of the code from ViewCompat.
 *
 * @param view
 */
@SuppressLint("NewApi")
public static void postInvalidateOnAnimation(View view) {
    if (Build.VERSION.SDK_INT >= 16)
        view.postInvalidateOnAnimation();
    else
        view.postInvalidateDelayed(10);
}
 
源代码5 项目: iMoney   文件: Utils.java
/**
 * Original method view.postInvalidateOnAnimation() only supportd in API >=
 * 16, This is a replica of the code from ViewCompat.
 *
 * @param view
 */
@SuppressLint("NewApi")
public static void postInvalidateOnAnimation(View view) {
    if (Build.VERSION.SDK_INT >= 16)
        view.postInvalidateOnAnimation();
    else
        view.postInvalidateDelayed(10);
}
 
源代码6 项目: Stayfit   文件: Utils.java
/**
 * Original method view.postInvalidateOnAnimation() only supportd in API >=
 * 16, This is a replica of the code from ViewCompat.
 *
 * @param view
 */
@SuppressLint("NewApi")
public static void postInvalidateOnAnimation(View view) {
    if (Build.VERSION.SDK_INT >= 16)
        view.postInvalidateOnAnimation();
    else
        view.postInvalidateDelayed(10);
}
 
源代码7 项目: NetKnight   文件: Utils.java
/**
 * Original method view.postInvalidateOnAnimation() only supportd in API >=
 * 16, This is a replica of the code from ViewCompat.
 *
 * @param view
 */
@SuppressLint("NewApi")
public static void postInvalidateOnAnimation(View view) {
    if (Build.VERSION.SDK_INT >= 16)
        view.postInvalidateOnAnimation();
    else
        view.postInvalidateDelayed(10);
}
 
源代码8 项目: JNChartDemo   文件: Utils.java
/**
 * Original method view.postInvalidateOnAnimation() only supportd in API >=
 * 16, This is a replica of the code from ViewCompat.
 *
 * @param view
 */
@SuppressLint("NewApi")
public static void postInvalidateOnAnimation(View view) {
    if (Build.VERSION.SDK_INT >= 16)
        view.postInvalidateOnAnimation();
    else
        view.postInvalidateDelayed(10);
}
 
源代码9 项目: MiBandDecompiled   文件: aa.java
public void a(View view, int l, int i1, int j1, int k1)
{
    view.postInvalidateDelayed(a(), l, i1, j1, k1);
}
 
源代码10 项目: MiBandDecompiled   文件: aa.java
public void c(View view)
{
    view.postInvalidateDelayed(a());
}
 
源代码11 项目: CodenameOne   文件: ViewCompat.java
public void postInvalidateOnAnimation(View view) {
    view.postInvalidateDelayed(getFrameTime());
}
 
源代码12 项目: CodenameOne   文件: ViewCompat.java
public void postInvalidateOnAnimation(View view, int left, int top, int right, int bottom) {
    view.postInvalidateDelayed(getFrameTime(), left, top, right, bottom);
}
 
源代码13 项目: android-recipes-app   文件: ViewCompat.java
public void postInvalidateOnAnimation(View view) {
    view.postInvalidateDelayed(getFrameTime());
}
 
源代码14 项目: android-recipes-app   文件: ViewCompat.java
public void postInvalidateOnAnimation(View view, int left, int top, int right, int bottom) {
    view.postInvalidateDelayed(getFrameTime(), left, top, right, bottom);
}
 
源代码15 项目: V.FlyoutTest   文件: ViewCompat.java
public void postInvalidateOnAnimation(View view) {
    view.postInvalidateDelayed(getFrameTime());
}
 
源代码16 项目: V.FlyoutTest   文件: ViewCompat.java
public void postInvalidateOnAnimation(View view, int left, int top, int right, int bottom) {
    view.postInvalidateDelayed(getFrameTime(), left, top, right, bottom);
}
 
源代码17 项目: guideshow   文件: ViewCompat.java
public void postInvalidateOnAnimation(View view) {
    view.postInvalidateDelayed(getFrameTime());
}
 
源代码18 项目: guideshow   文件: ViewCompat.java
public void postInvalidateOnAnimation(View view, int left, int top, int right, int bottom) {
    view.postInvalidateDelayed(getFrameTime(), left, top, right, bottom);
}
 
源代码评论
动弹
沙发等你来抢
 方法所在类
 同类方法