1
0
Fork 0
fenix/app/src/main/java/org/mozilla/fenix/collections/CreateCollectionFragment.kt

34 lines
1.1 KiB
Kotlin

package org.mozilla.fenix.collections
/* This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/. */
import android.os.Bundle
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import kotlinx.android.synthetic.main.fragment_create_collection.view.*
import org.mozilla.fenix.R
import org.mozilla.fenix.mvi.ActionBusFactory
class CreateCollectionFragment : Fragment() {
private lateinit var collectionCreationComponent: CollectionCreationComponent
override fun onCreateView(
inflater: LayoutInflater, container: ViewGroup?,
savedInstanceState: Bundle?
): View? {
val view = inflater.inflate(R.layout.fragment_create_collection, container, false)
collectionCreationComponent = CollectionCreationComponent(
view.create_collection_wrapper,
ActionBusFactory.get(this)
)
return view
}
}