package org.pestrada.android_tdd_playground;

import android.os.Bundle;
import android.support.v4.app.FragmentActivity;
import android.view.View;
import android.widget.TextView;

public class MainActivity extends FragmentActivity {

  @Override
  protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_main);
  }
  
  public void changeText(View view) {
    TextView textView = (TextView) findViewById(R.id.textView1);
    textView.setText("new text");
  }

}

@@ -172,16 +172,251 @@
 tView;%0A%0A
+import com.cloudant.p2p.listener.HttpListener;%0Aimport com.cloudant.sync.datastore.Datastore;%0Aimport com.cloudant.sync.datastore.DatastoreManager;%0A%0Aimport org.restlet.Component;%0Aimport org.restlet.data.Protocol;%0A%0Aimport java.io.File;%0A%0A%0A
 public c

add imports for p2p