There is an error in intent parameters and could not figure out how to solve this issue.
companion object {
fun start(context: BookingFragment) {
context.startActivity(Intent(context, BookingFragment::class.java))
}
//Error:
None of the following functions can be called with the arguments supplied:
public constructor Intent(p0: Context!, p1: Class<*>!) defined in android.content.Intent
public constructor Intent(p0: String!, p1: Uri!) defined in android.content.Intent