diff --git a/app/src/main/kotlin/com/simplemobiletools/calendar/adapters/EventTypeAdapter.kt b/app/src/main/kotlin/com/simplemobiletools/calendar/adapters/EventTypeAdapter.kt index c16f63cd6..bee30eb8d 100644 --- a/app/src/main/kotlin/com/simplemobiletools/calendar/adapters/EventTypeAdapter.kt +++ b/app/src/main/kotlin/com/simplemobiletools/calendar/adapters/EventTypeAdapter.kt @@ -13,7 +13,7 @@ import com.simplemobiletools.calendar.interfaces.DeleteItemsListener import com.simplemobiletools.calendar.models.EventType import com.simplemobiletools.commons.dialogs.ConfirmationDialog import com.simplemobiletools.commons.extensions.setBackgroundWithStroke -import kotlinx.android.synthetic.main.event_type_view.view.* +import kotlinx.android.synthetic.main.item_event_type.view.* import java.util.* class EventTypeAdapter(val activity: SimpleActivity, val mItems: List, val listener: DeleteItemsListener?, val itemClick: (EventType) -> Unit) : @@ -82,7 +82,7 @@ class EventTypeAdapter(val activity: SimpleActivity, val mItems: List } override fun onCreateViewHolder(parent: ViewGroup?, viewType: Int): ViewHolder { - val view = LayoutInflater.from(parent?.context).inflate(R.layout.event_type_view, parent, false) + val view = LayoutInflater.from(parent?.context).inflate(R.layout.item_event_type, parent, false) return ViewHolder(activity, view, itemClick) } diff --git a/app/src/main/res/layout/event_type_view.xml b/app/src/main/res/layout/item_event_type.xml similarity index 100% rename from app/src/main/res/layout/event_type_view.xml rename to app/src/main/res/layout/item_event_type.xml