INNER CODE UNIT · Kotlin
mEventTypeId
SimpleMobileTools/Simple-Calendar · app/src/main/kotlin/com/simplemobiletools/calendar/pro/activities/EventActivity.kt:249
mEventTypeId = if (config.defaultEventTypeId == -1L) config.lastUsedLocalEventTypeId else config.defaultEventTypeId
if (event != null) {
mEvent = event
mEventOccurrenceTS = intent.getLongExtra(EVENT_OCCURRENCE_TS, 0L)
if (savedInstanceState == null) {
setupEditEvent()
}
if (intent.getBooleanExtra(IS_DUPLICATE_INTENT, false)) {
mEvent.id = null
eventToolbar.title = getString(R.string.new_event)
} else {
cancelNotification(mEvent.id!!)
}
} else {
mEvent = Event(null)
config.apply {