jmonkeyengine
jmonkeyengine copied to clipboard
AndroidHarnessFragment extends android.app.Fragment, android requires it to extend androidx.app.fragment.Fragment to use commitNow()
Thank you for reporting this issue.
I am really sorry I made a small mistake in the title (with potentially large consequences). to use function commitNow(), the class / Fragment needs to extend androidx.fragment.app.Fragment
@BharSat I am still in the process of adding Androidx jetpack compose compatibility, so no worry, it might be available as of next releases....in the current time you might try JmeSurfaceView on androidx fragment, but after solving the package issue #1803 , if you would like i will ping you here when they are available !