Code example for LayoutAnimationController

0
	} 
	 
	@Implementation 
	public static LayoutAnimationController loadLayoutAnimation(Context context, int id) { 
		Animation anim = new TranslateAnimation(0, 0, 30, 0); 
		LayoutAnimationController layoutAnim = new LayoutAnimationController(anim); 
		Robolectric.shadowOf(layoutAnim).setLoadedFromResourceId(id); 
		return layoutAnim;  
	} 
	 
} 
Contextual code suggestions in your IDE  Get Codota for Java