Skip to content

Commit

Permalink
docs(navigation): fix sample fragment's text not visible
Browse files Browse the repository at this point in the history
  • Loading branch information
matejdro committed Jun 21, 2024
1 parent 1df3b6e commit d5614b1
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
package si.inova.kotlinova.navigation.sample.fragment

import android.annotation.SuppressLint
import android.graphics.Color
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
Expand All @@ -34,6 +35,7 @@ class DemoFragment : Fragment() {
override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?): View {
return TextView(requireContext()).apply {
text = "Hello From Fragment. Got argument: ${arguments?.getInt(ARGUMENT_INPUT)}"
setTextColor(Color.WHITE)
}
}

Expand Down

0 comments on commit d5614b1

Please sign in to comment.