报错Fragment io.rong.imkit.fragment.ConversationListFragment did not create a view

请在获取fragment的时候,进行空判断

ConversationListFragment mFragment = null;

if (mFragment == null && R.id.“fragment的id”!= View.NO_ID) {

mFragment = (ConversationListFragment) getSupportFragmentManager().findFragmentById(R.id.“fragment的id”);

}