How to link to Glide tables together?

Hi, I am using Glide tables.

I have a table called Places, with the following columns:

  • Name of place
  • Location
  • Thumbnail

And another tables called Events, where I will store events happening at different Places. It has the following columns:

  • Type of event
  • Event name
  • Time of event

How would I link the tables together so that I could show Events for a specific Place, as well as show a list of all the Events and the Places each Event belongs to?

This will be helpful to you

1 Like

Include an extra column in your Events table for a Location or Location ID, and then you can create a multi-relation from your Locations table to your Events table, using that column.

1 Like