My project contains code of JAVA & KOTLIN both, I have only one activity(Main) where many fragments are placed in a container. I want to work on composable screen which would be invoked in java code and should work as a fragment.
I want to do something like this(to invoke my screen) in JAVA file:
FragmentTransaction fragmentTransaction = manager.beginTransaction();
fragmentTransaction.replace(R.id.container, MyCompose, tag);
And MyCompos would be a screen/listing made with composable. e.g
@Composable
fun makeText(){
// my custom view
}