Android View Check isImageView(View currentViewTocross)

Here you can find the source of isImageView(View currentViewTocross)

Description

is Image View

Declaration

public static boolean isImageView(View currentViewTocross) 

Method Source Code

//package com.java2s;

import android.view.View;

import android.widget.ImageView;

public class Main {
    public static boolean isImageView(View currentViewTocross) {
        if (ImageView.class.isAssignableFrom(currentViewTocross.getClass())) {
            // Log.d("CurrentView", "ImageView");
            return true;
        }//w  w w .j  av  a2 s  .c  o m
        return false;
    }
}

Related

  1. isAndroidOverScrollEnabled(View view)
  2. isPointInsideView(float x, float y, View view)
  3. isRadioButtonView(View currentViewTocross)
  4. isScrollView(View v)
  5. isViewFromClass(Class type, View currentViewTocross)