| | |
| | | recyclerView.setLayoutManager(new LinearLayoutManager(this)); |
| | | |
| | | items = new ArrayList<>(); |
| | | items.add(new Item("192.168.4.188", "Item 1", "Description of Item 1")); |
| | | items.add(new Item("192.168.4.61", "Item 2", "Description of Item 2")); |
| | | items.add(new Item("192.168.4.233", "Item 3", "Description of Item 3")); |
| | | //items.add(new Item("192.168.4.188", "Item 1", "Description of Item 1")); |
| | | //items.add(new Item("192.168.4.61", "Item 2", "Description of Item 2")); |
| | | //items.add(new Item("192.168.4.233", "Item 3", "Description of Item 3")); |
| | | |
| | | adapter = new ItemAdapter(items); |
| | | recyclerView.setAdapter(adapter); |