content: package id.merahmuda.bcd.activity;
  
  import android.support.v7.app.AppCompatActivity;
  import android.os.Bundle;
  import android.view.MenuItem;
  
  import id.merahmuda.bcd.R;
  
  public class BuatEventActivity extends BaseActivity {
  
      @Override
      protected void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.activity_buat_event);
          setTitle("Buat Event");
          getSupportActionBar().setDisplayHomeAsUpEnabled(true);
          getSupportActionBar().setDisplayShowHomeEnabled(true);
      }
  
      @Override
      public void findViews() {
  
      }
  
      @Override
      public void initViews() {
  
      }
  
      @Override
      public void initListeners() {
  
      }
  
      @Override
      public boolean onOptionsItemSelected(MenuItem item) {
          // handle arrow click here
          if (item.getItemId() == android.R.id.home) {
              finish(); // close this activity and return to preview activity (if there is any)
          }
  
          return super.onOptionsItemSelected(item);
      }
  }
  