private void InitAdapter()
        {
            base.dialogsAdapter = new DialogsListAdapter(base.imageLoader);
            base.dialogsAdapter.SetItems(DialogsFixtures.GetDialogs());

            base.dialogsAdapter.SetOnDialogLongClickListener(this);
            base.dialogsAdapter.OnDialogClickListener = this;
            base.dialogsAdapter.ImageLoader           = base.imageLoader;
            dialogsList.SetAdapter(base.dialogsAdapter);
        }
Ejemplo n.º 2
0
        private void InitAdapter()
        {
            base.dialogsAdapter = new DialogsListAdapter(Resource.Layout.item_custom_dialog_view_holder, Java.Lang.Class.FromType(typeof(CustomDialogViewHolder)), base.imageLoader);

            base.dialogsAdapter.SetItems(DialogsFixtures.GetDialogs());

            base.dialogsAdapter.SetOnDialogLongClickListener(this);
            base.dialogsAdapter.OnDialogClickListener = this;
            base.dialogsAdapter.ImageLoader           = base.imageLoader;
            dialogsList.SetAdapter(base.dialogsAdapter);
        }