androidx.fragment.app.fragment $ instantiatiationException

MyFragment.instantiate(
                    MainActivity.this, "whole.path.to.MyFragment");
android developer