mirror of
https://github.com/moparisthebest/Conversations
synced 2024-12-26 01:09:13 -05:00
fixed #454 - added fast srcolling to some lists
This commit is contained in:
parent
34de697e7e
commit
cca5865ecb
@ -82,6 +82,7 @@ public class ChooseContactActivity extends XmppActivity {
|
||||
super.onCreate(savedInstanceState);
|
||||
setContentView(R.layout.activity_choose_contact);
|
||||
mListView = (ListView) findViewById(R.id.choose_contact_list);
|
||||
mListView.setFastScrollEnabled(true);
|
||||
mContactsAdapter = new ListItemAdapter(this, contacts);
|
||||
mListView.setAdapter(mContactsAdapter);
|
||||
mListView.setOnItemClickListener(new AdapterView.OnItemClickListener() {
|
||||
|
@ -568,6 +568,7 @@ public class StartConversationActivity extends XmppActivity {
|
||||
public void onViewCreated(View view, Bundle savedInstanceState) {
|
||||
super.onViewCreated(view, savedInstanceState);
|
||||
registerForContextMenu(getListView());
|
||||
getListView().setFastScrollEnabled(true);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user