use of com.example.c4q.capstone.utils.SimpleDividerItemDecoration in project Grupp by tmoronta1208.
the class EventInviteActivity method onCreate.
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_event_invite);
rootRef = FirebaseDatabase.getInstance().getReference();
invites = rootRef.child(EVENT_INVITATIONS).child(currentUserID);
eventInviteRecyclerView = findViewById(R.id.rec_view);
eventInviteRecyclerView.setHasFixedSize(true);
linearLayout = new LinearLayoutManager(getApplicationContext());
eventInviteRecyclerView.setLayoutManager(linearLayout);
eventInviteRecyclerView.addItemDecoration(new SimpleDividerItemDecoration(getApplicationContext()));
callFireBaseAdapter();
}
Aggregations