Skip to content

Instantly share code, notes, and snippets.

@shogonir
Created June 4, 2016 03:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shogonir/4e1df9ef42de2a0a76812781aca841dc to your computer and use it in GitHub Desktop.
Save shogonir/4e1df9ef42de2a0a76812781aca841dc to your computer and use it in GitHub Desktop.
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