Class EntrantHistoryAdapter.HistoryItem

java.lang.Object
com.example.lottery.adapter.EntrantHistoryAdapter.HistoryItem
Enclosing class:
EntrantHistoryAdapter

public static class EntrantHistoryAdapter.HistoryItem extends Object
Data class that pairs an Event with the entrant's registration status and the organizer's display name.
  • Field Details

    • event

      public Event event
    • status

      public String status
    • organizerName

      public String organizerName
  • Constructor Details

    • HistoryItem

      public HistoryItem(Event event, String status)
      Creates a new HistoryItem.
      Parameters:
      event - the event
      status - the entrant's status for this event