I used Calligraphy for loading custom fonts. In my activity's i attached the Calligraphy wrapper like below
@Override
protected void attachBaseContext(Context newBase) {
super.attachBaseContext(CalligraphyContextWrapper.wrap(newBase));
}
I am getting inflater = {CalligraphyLayoutInflater} in my onCreateView in my Fragment onCreateView
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
View view = inflater.inflate(R.layout.fragment_home, container, false);
MapFragment fragment = (MapFragment) getChildFragmentManager().findFragmentById(R.id.map);
And i am getting null in my MapFragment.
how to solve this