package mystikos.pollen;

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

public class MainActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        getData();
    }

    protected void getData () {
        setTitle("test");
    }
}

@@ -411,16 +411,152 @@
 ata () %7B
+%0A%0A        setTitleToCity(); //run method to set title of activity to currently active city%0A    %7D%0A%0A    protected void setTitleToCity () %7B
 %0A       

add more methods to orgaize code