Search in sources :

Example 1 with SettingsSuggestionAdapter

use of edu.berkeley.cs.amplab.carat.android.lists.SettingsSuggestionAdapter in project carat by amplab.

the class SettingsSuggestionsFragment method refresh.

public void refresh() {
    CaratApplication caratAppllication = (CaratApplication) CaratApplication.getMainActivity().getApplication();
    final ListView lv = (ListView) rootView.findViewById(android.R.id.list);
    lv.setAdapter(new SettingsSuggestionAdapter(caratAppllication, CaratApplication.storage.getSettingsReport()));
}
Also used : SettingsSuggestionAdapter(edu.berkeley.cs.amplab.carat.android.lists.SettingsSuggestionAdapter) ListView(android.widget.ListView) CaratApplication(edu.berkeley.cs.amplab.carat.android.CaratApplication)

Aggregations

ListView (android.widget.ListView)1 CaratApplication (edu.berkeley.cs.amplab.carat.android.CaratApplication)1 SettingsSuggestionAdapter (edu.berkeley.cs.amplab.carat.android.lists.SettingsSuggestionAdapter)1