Code example for ScrollView

Methods: addView

0
 
		tmp.removeView((ScrollView) view_cach[position].getParent());
 
		oldpos = position;
 
		ScrollView scr = new ScrollView(context);
		scr.addView(view_cach[position]);
		tmp.addView(scr);
 
		return scr;
 
	} 
 
	@Override 
	public boolean isViewFromObject(View view, Object object) {
		return view == (View) object;
	} 
 
	@Override 
	public void restoreState(Parcelable arg0, ClassLoader arg1) {	}
Contextual code suggestions in your IDE  Get Codota for Java