How to correctly define this path for retfrofit in android?
Android newb. Using this url as an example: https://api.midnite.com/v0/matches/upcoming
I am having trouble getting past a nullpointer exception in my adapter, not sure what is causing the problem. Possibly the way I am structuring the url path in the retrofit service?
Here is the model class:
data class Data(
@SerializedName("away_team") var awayTeam: String? = null,
@SerializedName("away_team_id") var...