Exemplo n.º 1
0
        private void MAdapterOnItemClick(object sender, ShopAdapterClickEventArgs e)
        {
            try
            {
                var item = MAdapter?.StickerList[e.Position];
                if (item != null)
                {
                    if (item.Added == false)
                    {
                        item.Added = true;
                    }
                    else if (item.Added)
                    {
                        item.Added = false;
                    }
                    var sqLiteDatabase = new SqLiteDatabase();
                    sqLiteDatabase.Update_To_StickersTable(item.Title, item.Added);

                    EmojisViewTools.StickerView?.RefreshNow();
                }
            }
            catch (Exception exception)
            {
                Methods.DisplayReportResultTrack(exception);
            }
        }
 private void LongClick(ShopAdapterClickEventArgs args)
 {
     ItemLongClick?.Invoke(this, args);
 }