debugging - Android app be blank without run it from debug in Lollipop 5.0 -
i have problem developing android app in lollipop. using nexus 7 (2012).
if app run eclipse (run debug) work ok. if open in app screen (on phone), show blank screen (the actionbar , drawer still working) main content (i use fragments) blank
edited :
these code in mainactivity loading fragment content :
mstacks = new hashmap<string, stack<fragment>>(); mstacks.put(appconstant.test_fragment, new stack<fragment>()); bundle bundle = getintent().getextras(); currentmenu = appconstant.test_fragment; if (bundle != null) { currentmenu = bundle.getstring(baseappconstant.intent_al_screeen_name_extra); } if (currentmenu != null) { if (currentmenu.equals(appconstant.test_fragment)) pushfragments(new listfragment(), false, true); }
Comments
Post a Comment