Android Open Source - ImageScanner U I Helper






From Project

Back to project page ImageScanner.

License

The source code is released under:

Apache License

If you think the Android project ImageScanner listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.scanner.utils;
/*from   w  ww  .  j a v  a2 s  .c  o m*/
import android.content.Context;
import android.view.View;
import android.widget.Toast;

public class UIHelper {

  
  public static void ToastMessage(Context cont, String msg) {
    Toast.makeText(cont, msg, Toast.LENGTH_SHORT).show();
  }

  public static void ToastMessage(Context cont, int msg) {
    Toast.makeText(cont, msg, Toast.LENGTH_SHORT).show();
  }

  public static void ToastMessage(Context cont, String msg, int time) {
    Toast.makeText(cont, msg, time).show();
  }

  


  /**
   * 
   * 
   * @param currView
   * @param nextView
   */
  public static void crossfade(final View currView, View nextView) {

    if (nextView != null) {

      nextView.setVisibility(View.VISIBLE);
    }

    if (currView != null) {
      
      currView.setVisibility(View.GONE);

    }
  }
}




Java Source Code List

com.atermenji.android.iconicdroid.IconicFontDrawable.java
com.atermenji.android.iconicdroid.icon.EntypoIcon.java
com.atermenji.android.iconicdroid.icon.EntypoSocialIcon.java
com.atermenji.android.iconicdroid.icon.FontAwesomeIcon.java
com.atermenji.android.iconicdroid.icon.Icon.java
com.atermenji.android.iconicdroid.icon.IconicIcon.java
com.atermenji.android.iconicdroid.util.TypefaceManager.java
com.example.imagescanner.GalleryFolderActivity.java
com.example.imagescanner.GalleryGridActivity.java
com.example.imagescanner.MainActivity.java
com.scanner.adapter.GalleryFolderListAdapter.java
com.scanner.adapter.GalleryGridAdapter.java
com.scanner.beans.GalleryFolderBean.java
com.scanner.beans.GridImageBean.java
com.scanner.utils.BitmapUtils.java
com.scanner.utils.ConstantsUtils.java
com.scanner.utils.DensityUtil.java
com.scanner.utils.FormatBitmapUtils.java
com.scanner.utils.ImageLoaderCacheHelper.java
com.scanner.utils.L.java
com.scanner.utils.ScannerUtils.java
com.scanner.utils.UIHelper.java