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

24 lines
701 B
Kotlin

/* 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/. */
package org.mozilla.fenix
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import org.mozilla.fenix.home.HomeFragment
class HomeActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentView(R.layout.activity_home)
supportFragmentManager?.beginTransaction()?.apply {
replace(R.id.container, HomeFragment.create())
commit()
}
}
}