addFragment

fun AppCompatActivity.addFragment(fragment: Fragment, tag: String?, @IdRes layoutId: Int)
fun Fragment.addFragment(fragment: Fragment, tag: String?, @IdRes layoutId: Int)
fun Context.addFragment(title: String?, fragment: Fragment, tag: String?, @IdRes layoutId: Int)
fun Fragment.addFragment(title: String?, fragment: Fragment, tag: String?, @IdRes layoutId: Int)
fun AppCompatActivity.addFragment(title: String?, fragment: Fragment, tag: String?, @IdRes layoutId: Int)