package com.blocksolid.okrello;

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);
    }
}

@@ -105,226 +105,1811 @@
 le;%0A
-%0Apublic class MainActivity extends AppCompatActivity %7B%0A%0A    @Override%0A    protected void onCreate(Bundle savedInstanceState) %7B%0A        super.onCreate(savedInstanceState);%0A        setContentView(R.layout.activity_main);
+import android.view.View;%0Aimport android.widget.ArrayAdapter;%0Aimport android.widget.Button;%0Aimport android.widget.ListView;%0Aimport android.widget.ProgressBar;%0A%0Aimport java.util.ArrayList;%0A%0Apublic class MainActivity extends AppCompatActivity %7B%0A%0A    public static ProgressBar progressBar;%0A    public static Button getListsBtn;%0A    public static ListView listView;%0A%0A    @Override%0A    protected void onCreate(Bundle savedInstanceState) %7B%0A        super.onCreate(savedInstanceState);%0A        setContentView(R.layout.activity_main);%0A%0A        progressBar = (ProgressBar) findViewById(R.id.main_progress);%0A        progressBar.setVisibility(View.INVISIBLE);%0A%0A        getListsBtn = (Button) findViewById(R.id.main_btn_get_lists);%0A        listView = (ListView) findViewById(R.id.main_list_lists);%0A%0A        getListsBtn.setOnClickListener(new View.OnClickListener() %7B%0A            @Override%0A            public void onClick(View v) %7B%0A                getLists();%0A            %7D%0A        %7D);%0A    %7D%0A%0A    private void getLists() %7B%0A        // Show progress indicator while working%0A        progressBar.setVisibility(View.VISIBLE);%0A%0A        // TODO make retrofit call to capture Lists to an array%0A        // TODO get list names to an array of strings%0A        // Manually created array for the purpose of testing%0A%0A        // Populate list view with strings from array%0A        ArrayList%3CString%3E trelloListsArray = new ArrayList%3C%3E();%0A        trelloListsArray.add(0, %22Q1 2015%22);%0A        trelloListsArray.add(1, %22Q2 2015%22);%0A        trelloListsArray.add(2, %22Q3 2015%22);%0A        trelloListsArray.add(3, %22Q4 2015%22);%0A%0A        listView.setAdapter(new ArrayAdapter%3C%3E(MainActivity.this, android.R.layout.simple_list_item_1, trelloListsArray));%0A%0A        // Hide progress indicator when done%0A        progressBar.setVisibility(View.INVISIBLE);%0A
 %0A   

Add button to app that displays list populated from dummy array