From 5d3851da7f670f7f3a57f0d5d290a762f029e99d Mon Sep 17 00:00:00 2001 From: tgyuu-An Date: Wed, 29 Nov 2023 14:18:09 +0900 Subject: [PATCH] [ADD] #50 : EventRegistrationFragment --- .../event/EventRegistrationFragment.kt | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 feature/management/src/main/java/com/wap/wapp/feature/management/event/EventRegistrationFragment.kt diff --git a/feature/management/src/main/java/com/wap/wapp/feature/management/event/EventRegistrationFragment.kt b/feature/management/src/main/java/com/wap/wapp/feature/management/event/EventRegistrationFragment.kt new file mode 100644 index 00000000..4f81aea4 --- /dev/null +++ b/feature/management/src/main/java/com/wap/wapp/feature/management/event/EventRegistrationFragment.kt @@ -0,0 +1,31 @@ +package com.wap.wapp.feature.management.event + +import android.os.Bundle +import android.view.LayoutInflater +import android.view.View +import android.view.ViewGroup +import androidx.compose.ui.platform.ComposeView +import androidx.fragment.app.Fragment +import com.wap.designsystem.WappTheme + +class EventRegistrationFragment : Fragment() { + + private lateinit var composeView: ComposeView + + override fun onCreateView( + inflater: LayoutInflater, + container: ViewGroup?, + savedInstanceState: Bundle?, + ): View { + return ComposeView(requireContext()).also { + composeView = it + } + } + + override fun onViewCreated(view: View, savedInstanceState: Bundle?) { + super.onViewCreated(view, savedInstanceState) + composeView.setContent { + WappTheme {} + } + } +}