コード例 #1
0
        public override void OnCreateContextMenu(IContextMenu menu, View v, IContextMenuContextMenuInfo menuInfo)
        {
            var info    = (AdapterView.AdapterContextMenuInfo)menuInfo;
            var contact = _adapter[info.Position];

            _menuManager.CreateMenu(menu, contact);
        }
コード例 #2
0
        public override void OnCreateContextMenu(IContextMenu menu, View v, IContextMenuContextMenuInfo menuInfo)
        {
            var info = (AdapterView.AdapterContextMenuInfo)menuInfo;
            var msg  = _adapter[(int)info.Id];

            _menuManager.CreateMenu(menu, msg);
        }