Here are the examples of the java api class android.view.animation.GridLayoutAnimationController taken from open source projects.
1. SmartStoreInspectorActivity#animateGridView()
Project: SalesforceMobileSDK-Android
File: SmartStoreInspectorActivity.java
File: SmartStoreInspectorActivity.java
/** * Helper method to attach animation to grid view * * @param gridView */ private void animateGridView(GridView gridView) { Animation animation = AnimationUtils.loadAnimation(this, android.R.anim.fade_in); GridLayoutAnimationController animationController = new GridLayoutAnimationController(animation, 0f, 0.1f); gridView.setLayoutAnimation(animationController); animationController.start(); }