Closed dexxtr closed 11 years ago
Works nicely for me:
Also checkout please this application. If bug not occurs for it: bug in your code/build env
It's working well, thanks! It's my problem, will be investigate. Thank you one more time! ;)
I have got the same exception when I put SupportMapFragment as a child fragment (added from xml) inside a holoeverywhere Fragment. It seems that org.holoeverywhere.LayoutInflater is not creating a view for this fragment, because mCurState=0 in mChildFragmentManager.
Everything works fine when I use android.support.v4.app.Fragment, probably because in that case the standard LayoutInflater is used.
Got same exception too when using SupportMapFragment as a child of holoeverywhere fragment. Had to use android.support.v4.app.Fragment.
Still not fixed. I'm using the google maps fragment inside a holoeverywhere fragment and get the same error as OP. Any help?
Still not fixed. Got the same exception too
O, rlly? Just now checked out: works fine.
Prototik, could you post source for your app?
I have this issue when
fragment_layout.xml
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent" >
<fragment
android:id="@+id/fm_map"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_alignParentLeft="true"
android:layout_alignParentTop="true"
class="com.google.android.gms.maps.SupportMapFragment" />
</RelativeLayout>
and in MapFragment_
class which extends org.holoeverywhere.app.Fragment
have
contentView_ = inflater.inflate(layout.fragment_map, container, false);
then in Activity, which extends org.holoewerywhere.app.Activity
I have
MapFragment fragment = new MapFragment_();
getSupportFragmentManager().beginTransaction().add(R.id.am_fragment_container, fragment).commit();
also I'm using AndroidAnnotations
Hello there! Can you please add a similar example of google map with HE with HoloFragment? I am having problem with embedding google map into it and I don't want to use HoloActivity for that. Thanks in advance!
I've a google map on fragment:
and have such peace of code where exception has occurred
I've got an exception. What I do wrong or HE does not support SupportMapFragment?