NepaliMonthEventListViewController

fun NepaliMonthEventListViewController(year: Int, month: Int, locale: NepaliDateLocale, events: NepaliEventOptions?, onHeightChange: (Float) -> Unit, onEventTapped: (NepaliCalendarEvent) -> Unit): UIViewController(source)

Hosts NepaliMonthEventList on its own: everything named in one Bikram Sambat month, in date order, with a festival that runs several days written as a single line.

Use this when the month's events belong somewhere else on the screen than the grid. A calendar and a list in two controllers cannot share a selection, so the list shows no picked day; ask NepaliCalendarViewController for a stacked list when that matters.

Parameters

year

the Bikram Sambat year to list.

month

the Bikram Sambat month to list, 1 for Baisakh through 12 for Chaitra.

onEventTapped

invoked with the event behind a tapped line.