Java Code Examples for android.widget.ListView.setClickable()

The following are Jave code examples for showing how to use setClickable() of the android.widget.ListView class. You can vote up the examples you like. Your votes will be used in our system to get more good examples.
Example 1
Project: android-clean-code   File: HomeActivity.java   Source Code and License Vote up 4 votes
private void createFlightListView() {
    ListView listView = (ListView) findViewById(R.id.listOfFlights);
    listView.setAdapter(new FlightListAdapter());
    listView.setClickable(true);
    listView.setOnItemClickListener(router);
}