fix: do not auto reload data in user/related
This commit is contained in:
		@@ -65,6 +65,7 @@ namespace Pixiview.Illust
 | 
			
		||||
        public IllustCollection IllustCollection { get; set; }
 | 
			
		||||
 | 
			
		||||
        protected virtual bool IsFavoriteVisible => true;
 | 
			
		||||
        protected virtual bool IsAutoReload => true;
 | 
			
		||||
        protected virtual ActivityIndicator LoadingIndicator => null;
 | 
			
		||||
        protected virtual bool IsDelayLoading => false;
 | 
			
		||||
        protected virtual double IndicatorMarginTop => 16;
 | 
			
		||||
@@ -103,7 +104,7 @@ namespace Pixiview.Illust
 | 
			
		||||
        {
 | 
			
		||||
            base.OnAppearing();
 | 
			
		||||
 | 
			
		||||
            if (lastUpdated != LastUpdated)
 | 
			
		||||
            if (lastUpdated == default || (IsAutoReload && lastUpdated != LastUpdated))
 | 
			
		||||
            {
 | 
			
		||||
                StartLoad();
 | 
			
		||||
            }
 | 
			
		||||
 
 | 
			
		||||
@@ -27,6 +27,7 @@ namespace Pixiview.Illust
 | 
			
		||||
            nextIndex = 0;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        protected override bool IsAutoReload => false;
 | 
			
		||||
        protected override ActivityIndicator LoadingIndicator => activityLoading;
 | 
			
		||||
 | 
			
		||||
        protected override IEnumerable<IllustItem> DoGetIllustList(IllustRecommendsData data)
 | 
			
		||||
 
 | 
			
		||||
@@ -38,6 +38,7 @@ namespace Pixiview.Illust
 | 
			
		||||
            nextIndex = 0;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        protected override bool IsAutoReload => false;
 | 
			
		||||
        protected override ActivityIndicator LoadingIndicator => activityLoading;
 | 
			
		||||
 | 
			
		||||
        protected override IEnumerable<IllustItem> DoGetIllustList(IllustUserData data)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user