Ejemplo n.º 1
0
 internal PreloadMetaData(AssetMetaPath assetMetaPath, ICustomListItem customListItem, AssetTypeDefinition assetTypeDefinition)
 {
     AssetMetaPath       = assetMetaPath;
     AssetTypeDefinition = assetTypeDefinition;
     ListName            = customListItem.ListName;
     ListAuthor          = customListItem.ListAuthor;
     _coverSprite        = customListItem.ListCover;
 }
Ejemplo n.º 2
0
        private async void SaberSelected(ICustomListItem item)
        {
            if (item is PreloadMetaData metaData)
            {
                _selectedTrailModel = await GetTrail(metaData);

                _onSelectionChanged?.Invoke(_selectedTrailModel);
            }
        }
Ejemplo n.º 3
0
 private void SelectItem(ICustomListItem item)
 {
     if (CurrentSelectedItem == item)
     {
         return;
     }
     CurrentSelectedItem = item;
     OnItemSelected?.Invoke(item);
 }
Ejemplo n.º 4
0
        public void Select(ICustomListItem item, bool scroll = true)
        {
            if (item == null || _listObjects == null)
            {
                return;
            }
            var idx = _listObjects.IndexOf(item);

            Select(idx, scroll);
        }
Ejemplo n.º 5
0
 private void SaberSelected(ICustomListItem item)
 {
     _selectedComposition = (ModelComposition)item;
 }
Ejemplo n.º 6
0
 private void SortSelected(ICustomListItem item)
 {
     _onSelectionChanged?.Invoke(((SortModeItem)item).SortMode);
     Exit();
 }