package me.ycdev.android.arch.activity;

import android.support.v7.app.AppCompatActivity;

/**
 * Base class for Activity which wants to inherit
 * {@link android.support.v7.app.AppCompatActivity}.
 */
public abstract class AppCompatBaseActivity extends AppCompatActivity {
    // nothing to do right now
}

@@ -34,16 +34,83 @@
 ivity;%0A%0A
+import android.os.Bundle;%0Aimport android.support.v7.app.ActionBar;%0A
 import a
@@ -150,16 +150,16 @@
 tivity;%0A
-
 %0A/**%0A * 
@@ -342,33 +342,435 @@
     
-// nothing to do right now
+@Override%0A    protected void onCreate(Bundle savedInstanceState) %7B%0A        super.onCreate(savedInstanceState);%0A        if (shouldSetDisplayHomeAsUpEnabled()) %7B%0A            ActionBar actionBar = getSupportActionBar();%0A            if (actionBar != null) %7B%0A                actionBar.setDisplayHomeAsUpEnabled(true);%0A            %7D%0A        %7D%0A    %7D%0A%0A    protected boolean shouldSetDisplayHomeAsUpEnabled() %7B%0A        return true;%0A    %7D
 %0A%7D%0A

Support "homeAsUp" in AppCompatBaseActivity