Example usage for android.util AttributeSet getClass

List of usage examples for android.util AttributeSet getClass

Introduction

In this page you can find the example usage for android.util AttributeSet getClass.

Prototype

@HotSpotIntrinsicCandidate
public final native Class<?> getClass();

Source Link

Document

Returns the runtime class of this Object .

Usage

From source file:me.henrytao.mdcore.core.MdLayoutInflaterFactory.java

@Override
public View onCreateView(View parent, String name, Context context, AttributeSet attrs) {
    Ln.d("custom | %s | %s", name, attrs.getClass().toString());
    View view = onCreateCustomView(parent, name, context, attrs);
    onSupportView(view, parent, name, context, attrs);
    return view;/*from   w w w  .j  a  va2 s. co m*/
}