androidx.fragment.app.fragment $ InstantiationException

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