Android View Check isRadioButtonView(View currentViewTocross)

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

Description

is Radio Button View

Declaration

public static boolean isRadioButtonView(View currentViewTocross) 

Method Source Code

//package com.java2s;

import android.util.Log;
import android.view.View;

import android.widget.RadioButton;

public class Main {
    public static boolean isRadioButtonView(View currentViewTocross) {
        if (RadioButton.class.isAssignableFrom(currentViewTocross
                .getClass())) {/*  www.  j  a  v a2s .  c om*/
            Log.e("CurrentView", "isRadioButton");
            return true;
        }
        return false;
    }
}

Related

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