Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_list_view);
ListView listView = (ListView) findViewById(R.id.list);
listView.setAdapter(new ContactsAdapter(this));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment