Advertisement
Guest User

Untitled

a guest
Jun 27th, 2019
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. val myRecycler = findViewById<RecyclerView>(R.id.myList)
  2. myRecycler.layoutManager = LinearLayoutManager(this)
  3. myRecycler.adapter = CustomAdapter(items)
  4.  
  5. myList.layoutManager = LinearLayoutManager(this)
  6. myList.adapter = CustomAdapter(items)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement