android.support.v4.view.PagerAdapter#isViewFromObject ( )源码实例Demo

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

源代码1 项目: ClockView   文件: JazzyViewPager.java
public View findViewFromObject(int position)
{
	Object o = mObjs.get(Integer.valueOf(position));
	if (o == null)
	{
		return null;
	}
	PagerAdapter a = getAdapter();
	View v;
	for (int i = 0; i < getChildCount(); i++)
	{
		v = getChildAt(i);
		if (a.isViewFromObject(v, o))
			return v;
	}
	return null;
}
 
源代码2 项目: letv   文件: JazzyViewPager.java
public View findViewFromObject(int position) {
    Object o = this.mObjs.get(Integer.valueOf(position));
    if (o == null) {
        return null;
    }
    PagerAdapter a = getAdapter();
    for (int i = 0; i < getChildCount(); i++) {
        View v = getChildAt(i);
        if (a.isViewFromObject(v, o)) {
            return v;
        }
    }
    return null;
}
 
源代码3 项目: school_shop   文件: JazzyViewPager.java
public View findViewFromObject(int position) {
	Object o = mObjs.get(Integer.valueOf(position));
	if (o == null) {
		return null;
	}
	PagerAdapter a = getAdapter();
	View v;
	for (int i = 0; i < getChildCount(); i++) {
		v = getChildAt(i);
		if (a.isViewFromObject(v, o))
			return v;
	}
	return null;
}
 
源代码4 项目: Contacts   文件: JazzyViewPager.java
public View findViewFromObject(int position) {
	Object o = mObjs.get(Integer.valueOf(position));
	if (o == null) {
		return null;
	}
	PagerAdapter a = getAdapter();
	View v;
	for (int i = 0; i < getChildCount(); i++) {
		v = getChildAt(i);
		if (a.isViewFromObject(v, o))
			return v;
	}
	return null;
}
 
源代码5 项目: UltimateAndroid   文件: JazzyViewPager.java
public View findViewFromObject(int position) {
    Object o = mObjs.get(Integer.valueOf(position));
    if (o == null) {
        return null;
    }
    PagerAdapter a = getAdapter();
    View v;
    for (int i = 0; i < getChildCount(); i++) {
        v = getChildAt(i);
        if (a.isViewFromObject(v, o))
            return v;
    }
    return null;
}
 
源代码6 项目: UltimateAndroid   文件: JazzyViewPager.java
public View findViewFromObject(int position) {
    Object o = mObjs.get(Integer.valueOf(position));
    if (o == null) {
        return null;
    }
    PagerAdapter a = getAdapter();
    View v;
    for (int i = 0; i < getChildCount(); i++) {
        v = getChildAt(i);
        if (a.isViewFromObject(v, o))
            return v;
    }
    return null;
}
 
源代码7 项目: Gazetti_Newspaper_Reader   文件: JazzyViewPager.java
public View findViewFromObject(int position) {
	Object o = mObjs.get(Integer.valueOf(position));
	if (o == null) {
		return null;
	}
	PagerAdapter a = getAdapter();
	View v;
	for (int i = 0; i < getChildCount(); i++) {
		v = getChildAt(i);
		if (a.isViewFromObject(v, o))
			return v;
	}
	return null;
}
 
源代码8 项目: android-kernel-tweaker   文件: JazzyViewPager.java
public View findViewFromObject(int position) {
	Object o = mObjs.get(Integer.valueOf(position));
	if (o == null) {
		return null;
	}
	PagerAdapter a = getAdapter();
	View v;
	for (int i = 0; i < getChildCount(); i++) {
		v = getChildAt(i);
		if (a.isViewFromObject(v, o))
			return v;
	}
	return null;
}
 
源代码9 项目: zhangshangwuda   文件: JazzyViewPager.java
public View findViewFromObject(int position) {
	Object o = mObjs.get(Integer.valueOf(position));
	if (o == null) {
		return null;
	}
	PagerAdapter a = getAdapter();
	View v;
	for (int i = 0; i < getChildCount(); i++) {
		v = getChildAt(i);
		if (a.isViewFromObject(v, o))
			return v;
	}
	return null;
}
 
源代码10 项目: JazzyViewPager   文件: JazzyViewPager.java
public View findViewFromObject(int position) {
	Object o = mObjs.get(Integer.valueOf(position));
	if (o == null) {
		return null;
	}
	PagerAdapter a = getAdapter();
	View v;
	for (int i = 0; i < getChildCount(); i++) {
		v = getChildAt(i);
		if (a.isViewFromObject(v, o))
			return v;
	}
	return null;
}