Android 回收查看其他组件

Android 回收查看其他组件,android,Android,我有这样一个循环视图: <TextView android:layout_width="match_parent" android:layout_height="match_parent" android:gravity="center" android:text="Swipe to update" /> <android.support.v4.widget.SwipeRefreshLay

我有这样一个循环视图:

    <TextView
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:gravity="center"
        android:text="Swipe to update" />

        <android.support.v4.widget.SwipeRefreshLayout
           android:id="@+id/listNoticiaSwiper"
           android:layout_width="match_parent"
           android:layout_height="wrap_content">

           <android.support.v7.widget.RecyclerView
              android:id="@+id/noticia_list"
              android:layout_width="match_parent"
              android:layout_height="match_parent"
              android:scrollbars="vertical" />
      </android.support.v4.widget.SwipeRefreshLayout>
我的视图没有呈现我的文本视图“滑动以更新”。我使用谷歌代码的例子。我没有RecyclerView.ViewHolde实现

有人能帮我吗?

请点击此url 您必须为RecyclerView设置许多内容

@Override
public RecyclerView.ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {
    view = LayoutInflater.from(parent.getContext())
            .inflate(layoutView, parent, false);
    view.setOnClickListener(onClickListener);
    RecyclerView.ViewHolder v = new RecyclerView.ViewHolder(view) {
    };
    return v;
}