iNoobAvicena

Grid RecyclerView

Nov 30th, 2021
755
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. RecyclerView recyclerView = findViewById(R.id.recyclerView);
  2. dataRecycler = new DataAdapter(_dataList);
  3. recyclerView.setAdapter(dataRecycler);
  4. recyclerView.setLayoutManager(new GridLayoutManager(this,3));
RAW Paste Data