Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.TextView;
public class MainActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
TextView textView = (TextView)findViewById(R.id.text);
BookmarkApiCaller caller = new BookmarkApiCaller(textView);
caller.fetchBookmarks();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment