![]() view can retrieved from inflater.inflate(). Note that ReyclerView needs to be retrieved by using the view.findViewById() instead findViewById() directly. Under recyclerview/SecondFragment.java, add the following lines to inject recyclerView to fragment. Create a new file under /res/layout/: frame_textview.xml: Step 3: Create a FrameLayout with TextViewĪfter creating RecyclerView, we need to define resource for each item (TextView) in RecyclerView. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |