Quick help

Hello guys, im new here and in android dev. I am making an app for a school project its basically an user created event app, users can create and apply/register for events. The front page should display all events and if u are logged in you can apply/register for any event on the homepage. I am using firebase for backend. My question is how to display event data on the homepage? Without manually making 10 blocks , i want every event that user creates showing up on homepage. With register button of course . Please help❤️