From 7c1ede4f4a06d712803bdb96b3603180a5ba0a0e Mon Sep 17 00:00:00 2001 From: tibbi Date: Sat, 3 Dec 2016 23:47:12 +0100 Subject: [PATCH] add some non null assertion --- .../simplemobiletools/filemanager/fragments/ItemsFragment.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/filemanager/fragments/ItemsFragment.kt b/app/src/main/kotlin/com/simplemobiletools/filemanager/fragments/ItemsFragment.kt index 36fa27d5..e329e5cd 100644 --- a/app/src/main/kotlin/com/simplemobiletools/filemanager/fragments/ItemsFragment.kt +++ b/app/src/main/kotlin/com/simplemobiletools/filemanager/fragments/ItemsFragment.kt @@ -35,7 +35,7 @@ class ItemsFragment : android.support.v4.app.Fragment(), ItemsAdapter.ItemOperat private var mShowHidden = false override fun onCreateView(inflater: LayoutInflater?, container: ViewGroup?, savedInstanceState: Bundle?) = - inflater!!.inflate(R.layout.items_fragment, container, false) + inflater!!.inflate(R.layout.items_fragment, container, false)!! override fun onViewCreated(view: View?, savedInstanceState: Bundle?) { super.onViewCreated(view, savedInstanceState)