Skip to content

Commit

Permalink
[ADD] #50 : EventRegistrationFragment
Browse files Browse the repository at this point in the history
  • Loading branch information
tgyuuAn committed Nov 29, 2023
1 parent c1bbcad commit 5d3851d
Showing 1 changed file with 31 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -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 {}
}
}
}

0 comments on commit 5d3851d

Please sign in to comment.