use of com.abewy.android.apps.klyph.adapter.ConversationAdapter in project Klyph by jonathangerbaud.
the class ConversationFragment method onViewCreated.
@Override
public void onViewCreated(View view, Bundle savedInstanceState) {
MultiObjectAdapter adapter = KlyphPreferences.areBannerAdsEnabled() ? new ConversationAdapter(getListView()) : new MultiObjectAdapter(getListView());
setListAdapter(adapter);
registerForContextMenu(getListView());
defineEmptyText(R.string.empty_list_no_message);
getListView().setStackFromBottom(true);
getListView().setDrawSelectorOnTop(false);
getListView().setSelector(R.drawable.transparent_selector);
// getListView().setTranscriptMode(AbsListView.TRANSCRIPT_MODE_ALWAYS_SCROLL);
setListVisible(false);
setRequestType(Query.MESSAGES);
setLoadingObjectAsFirstItem(true);
super.onViewCreated(view, savedInstanceState);
}
Aggregations