From d5614b11ac59395b91d08a029423500c9cc7a42e Mon Sep 17 00:00:00 2001 From: Matej Drobnic Date: Fri, 21 Jun 2024 07:15:15 +0200 Subject: [PATCH] docs(navigation): fix sample fragment's text not visible --- .../inova/kotlinova/navigation/sample/fragment/DemoFragment.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/navigation/sample/fragment/src/main/java/si/inova/kotlinova/navigation/sample/fragment/DemoFragment.kt b/navigation/sample/fragment/src/main/java/si/inova/kotlinova/navigation/sample/fragment/DemoFragment.kt index 86f915db..5e4a6998 100644 --- a/navigation/sample/fragment/src/main/java/si/inova/kotlinova/navigation/sample/fragment/DemoFragment.kt +++ b/navigation/sample/fragment/src/main/java/si/inova/kotlinova/navigation/sample/fragment/DemoFragment.kt @@ -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 @@ -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) } }