android - Recycleview miss anothers components -


i have recycleview this:

    <textview         android:layout_width="match_parent"         android:layout_height="match_parent"         android:gravity="center"         android:text="swipe 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> 

when use this:

@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; } 

my view no render textview 'swipe update'. use google code example. don't have recyclerview.viewholde implementation.

someone can help-me?

follow url http://javatechig.com/android/android-recyclerview-example have set many things recyclerview


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

jquery - javascript onscroll fade same class but with different div -