package com.brewguide.android.coffeebrewguide;

import android.os.Bundle;
import android.support.design.widget.FloatingActionButton;
import android.support.design.widget.Snackbar;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.Toolbar;
import android.util.Log;
import android.view.View;

/*
* Activity to display individual brew methods and their details. Intent is passes from Main Activity
* */
public class BrewMethodActivity extends AppCompatActivity implements InstructionsFragment.OnListFragmentInteractionListener{
    final String LOGTAG = this.getClass().getSimpleName();


    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        Log.e(LOGTAG, "Activity started");

        setContentView(R.layout.activity_brew_method);
        Toolbar toolbar = (Toolbar) findViewById(R.id.toolbar);
        setSupportActionBar(toolbar);

        FloatingActionButton fab = (FloatingActionButton) findViewById(R.id.fab);
        fab.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                Snackbar.make(view, "Replace with your own action", Snackbar.LENGTH_LONG)
                        .setAction("Action", null).show();
            }
        });
        getSupportActionBar().setDisplayHomeAsUpEnabled(true);
    }

    @Override
    public void onListFragmentInteraction(String item) {

    }
}

@@ -500,73 +500,8 @@
 ity 
-implements InstructionsFragment.OnListFragmentInteractionListener
 %7B%0D%0A 
@@ -1360,88 +1360,8 @@
 %0D%0A%0D%0A
-    @Override%0D%0A    public void onListFragmentInteraction(String item) %7B%0D%0A%0D%0A    %7D
 %0D%0A%7D%0D

clean up