Here you can find the source of isRadioButtonView(View currentViewTocross)
public static boolean isRadioButtonView(View currentViewTocross)
//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; } }