fixes early call to context in first fragment

This commit is contained in:
Raphael Maenle 2021-12-29 23:38:35 +01:00
parent 6e3f3c44af
commit 51bf245f00

View File

@ -30,14 +30,15 @@ class FirstFragment : Fragment() {
private lateinit var rest: RestSingleton
private lateinit var log: JSONArray
private val bump = BumpProcessor(requireContext())
private lateinit var bump: BumpProcessor
override fun onCreateView(
inflater: LayoutInflater, container: ViewGroup?,
savedInstanceState: Bundle?
): View? {
): View {
_binding = FragmentFirstBinding.inflate(inflater, container, false)
bump = BumpProcessor(requireContext())
// TODO: Step 1.7 call create channel
createChannel(