Android View Check isScrollView(View v)

Here you can find the source of isScrollView(View v)

Description

is Scroll View

Parameter

Parameter Description
v a parameter

Declaration

private static boolean isScrollView(View v) 

Method Source Code

//package com.java2s;

import android.view.View;

import android.widget.ScrollView;

public class Main {
    /**//from w  w  w.j  av a 2  s  .  co  m
     * @param v
     * @return
     */
    private static boolean isScrollView(View v) {
        if (ScrollView.class.isAssignableFrom(v.getClass())) {
            return true;
        }
        return false;
    }
}

Related

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