Code example for ActivityGroup

Methods: getLocalActivityManager

0
    @Override 
    public void onBackPressed() { 
        System.out.println("按下返回建");
        //            super.onBackPressed(); 
        //把后退事件交给子Activity处理 
        group.getLocalActivityManager().getCurrentActivity().onBackPressed();
    } 
 
    @Override 
    protected void onResume() { 
        // TODO Auto-generated method stub 
        super.onResume(); 
 
        //把界面切换放到onResume方法中是因为,从其他选项卡切换回来时, 
        //调用搞得是onResume方法 
 
        //要跳转的界面 
    } 
 
    @Override 
Contextual code suggestions in your IDE  Get Codota for Java