fixes early call to context in first fragment
This commit is contained in:
parent
6e3f3c44af
commit
51bf245f00
@ -30,14 +30,15 @@ class FirstFragment : Fragment() {
|
|||||||
private lateinit var rest: RestSingleton
|
private lateinit var rest: RestSingleton
|
||||||
private lateinit var log: JSONArray
|
private lateinit var log: JSONArray
|
||||||
|
|
||||||
private val bump = BumpProcessor(requireContext())
|
private lateinit var bump: BumpProcessor
|
||||||
|
|
||||||
override fun onCreateView(
|
override fun onCreateView(
|
||||||
inflater: LayoutInflater, container: ViewGroup?,
|
inflater: LayoutInflater, container: ViewGroup?,
|
||||||
savedInstanceState: Bundle?
|
savedInstanceState: Bundle?
|
||||||
): View? {
|
): View {
|
||||||
|
|
||||||
_binding = FragmentFirstBinding.inflate(inflater, container, false)
|
_binding = FragmentFirstBinding.inflate(inflater, container, false)
|
||||||
|
bump = BumpProcessor(requireContext())
|
||||||
|
|
||||||
|
|
||||||
// TODO: Step 1.7 call create channel
|
// TODO: Step 1.7 call create channel
|
||||||
createChannel(
|
createChannel(
|
||||||
|
Loading…
Reference in New Issue
Block a user