首页 > 代码库 > Android-Widget源码分析之listview

Android-Widget源码分析之listview

listview 继承

public abstract class AbsListView extends AdapterView<ListAdapter> implements TextWatcher,
        ViewTreeObserver.OnGlobalLayoutListener, Filter.FilterListener,
        ViewTreeObserver.OnTouchModeChangeListener,
        RemoteViewsAdapter.RemoteAdapterConnectionCallback {

上面又继承

public abstract class AdapterView<T extends Adapter> extends ViewGroup {

首先需要弄明白 AdapterView ,因为它继承与ViewGroup.

Android-Widget源码分析之listview