Androidx.fragment.app.fragment $ instantiationException

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