use of com.ushahidi.android.app.adapters.PopupAdapter in project Ushahidi_Android by ushahidi.
the class MapFragment method onActivityCreated.
@Override
public void onActivityCreated(Bundle savedInstanceState) {
super.onActivityCreated(savedInstanceState);
mListReportModel = new ListReportModel();
mListReportModel.load();
mReportModel = mListReportModel.getReports();
showCategories();
mHandler = new Handler();
if (checkForGMap()) {
map = getMap();
Preferences.loadSettings(getActivity());
initMap();
map.setInfoWindowAdapter(new PopupAdapter(getLayoutInflater(savedInstanceState)));
map.setOnInfoWindowClickListener(this);
}
}
Aggregations