place in code: val fragment = CrimeListFragment.newInstance()
issue: unresolver reference newInstance()
action: added all suggested import options - it didnt help me
questions: How can decide this error?
val currentFragment = supportFragmentManager.findFragmentById(R.id.fragment_ссontainer)
if (currentFragment == null) {
val fragment = CrimeListFragment.newInstance()
supportFragmentManager
.beginTransaction()
.add(R.id.fragment_ссontainer, fragment)
.commit()
}