package com.sam_chordas.android.stockhawk.ui;

import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;

import com.sam_chordas.android.stockhawk.R;

/**
 * Created by frano on 21/03/2016.
 */
public class LineGraphActivity extends AppCompatActivity {
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_line_graph);

        if (savedInstanceState == null) {
            LineGraphFragment fragment = new LineGraphFragment();

            getSupportFragmentManager().beginTransaction()
                    .add(R.id.stock_detail_container, fragment)
                    .commit();
        }
    }
}

@@ -468,24 +468,227 @@
  == null) %7B%0A
+            Bundle arguments = new Bundle();%0A            arguments.putString(getString(R.string.line_graph_extra),%0A                    getIntent().getStringExtra(getString(R.string.line_graph_extra)));%0A%0A
             
@@ -740,16 +740,62 @@
 gment();
+%0A            fragment.setArguments(arguments);
 %0A%0A      

Put graph activity intent extras into fragment's arguments