add some non null assertion

This commit is contained in:
tibbi 2016-12-03 23:47:12 +01:00
parent 6d7363fced
commit 7c1ede4f4a
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ class ItemsFragment : android.support.v4.app.Fragment(), ItemsAdapter.ItemOperat
private var mShowHidden = false private var mShowHidden = false
override fun onCreateView(inflater: LayoutInflater?, container: ViewGroup?, savedInstanceState: Bundle?) = 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?) { override fun onViewCreated(view: View?, savedInstanceState: Bundle?) {
super.onViewCreated(view, savedInstanceState) super.onViewCreated(view, savedInstanceState)