Useful utility classes for android.
## With this helper, you can assign any type of animation to your element ( such as each listview, gridview and etc. )Note: In the following example codes, first parameter is speed and second is offset ( delay time ).
gridView.setLayoutAnimation( Animation.Scale( 300, 200 ) );
gridView.setLayoutAnimation( Animation.FadeIn( 800, 0 ) );
gridView.setLayoutAnimation( Animation.FadeOut( 800, 0 ) );
listView.setLayoutAnimation( Animation.SlideUp( 250, 0 ) );
listView.setLayoutAnimation( Animation.SlideDown( 250, 0 ) );
listView.setLayoutAnimation( Animation.PushRight( 250, 0 ) );
listView.setLayoutAnimation( Animation.PushLeft( 250, 0 ) );
Animation.BounceImage( imageView, 1600 );
LocalStorage Local = new LocalStorage( this );
// For putting data in storage
Local.putString( "user-email", "example@gmail.com" );
Local.putInt( "userid", 5 );
Local.putBoolean( "is-login", true );
// For getting data of storage
Local.getString( "user-email" );
Local.getInt( "userid" );
Local.getBoolean( "is-login" );