Property | Type | Description | |
---|---|---|---|
CanAddScrollHandler | bool | ||
CurrentSeason |
Method | Description | |
---|---|---|
AddAnimeEntry ( AnimeItemAbstraction parentAbstraction ) : void | ||
AnimeListViewModel ( ) : System | ||
FetchData ( bool force = false, AnimeListWorkModes modeOverride = null ) : System.Threading.Tasks.Task | ||
GetDesiredStatus ( ) : AnimeStatus | ||
IndefiniteScrollViewerOnViewChanging ( double finalVerticalOffset ) : void |
Event handler for event fired by one of two scroll viewrs in List and Grid view mode. It loads more items as user is scroling further.
|
|
Init ( |
||
LogIn ( ) : void | ||
LogOut ( ) : void | ||
OnNavigatedFrom ( ) : void | ||
RefreshList ( bool searchSource = false, bool fakeDelay = false ) : void |
Main refresh function
|
|
RemoveAnimeEntry ( AnimeItemAbstraction parentAbstraction ) : void | ||
ScrollToTop ( ) : void |
Scrolls to top of current indefinite scroll viewer.
|
|
SetSortOrder ( SortOptions option ) : void |
Sets provided sort mode or takes one from settings
|
|
TryRetrieveAuthenticatedAnimeItem ( int id, bool anime = true, bool forceMal = false ) : Task |
Method used by details page to associate itself with authenticated item in order to allow for list updates.
|
|
UpdateGridItemWidth ( double>.Tuple |
Method | Description | |
---|---|---|
AddScrollHandler ( ) : void |
Adds handler to scroll viewer provided by view.
|
|
FetchSeasonalData ( bool force = false, int page ) : System.Threading.Tasks.Task | ||
GetGridItemsToLoad ( ) : int | ||
LoadAllItemsDetails ( ) : void | ||
LoadMore ( ) : void | ||
OnOnSearchDelayedQuerySubmitted ( string query ) : void | ||
ReloadList ( ) : void |
Forces currently loaded page to download new data.
|
|
SetDefaults ( int statusOverride = null ) : void | ||
SetDesiredStatus ( int value ) : void | ||
SetDisplayMode ( AnimeStatus val ) : void | ||
UpdatePageSetup ( ) : void |
This method is fully responsible for preparing the view. Depending on display mode it distributes items to right containers.
|
|
UpdateUpperStatus ( ) : void |
public AddAnimeEntry ( AnimeItemAbstraction parentAbstraction ) : void | ||
parentAbstraction | AnimeItemAbstraction | |
return | void |
public FetchData ( bool force = false, AnimeListWorkModes modeOverride = null ) : System.Threading.Tasks.Task | ||
force | bool | |
modeOverride | AnimeListWorkModes | |
return | System.Threading.Tasks.Task |
public IndefiniteScrollViewerOnViewChanging ( double finalVerticalOffset ) : void | ||
finalVerticalOffset | double | |
return | void |
public Init ( |
||
args | ||
return | void |
public RefreshList ( bool searchSource = false, bool fakeDelay = false ) : void | ||
searchSource | bool | /// If it's from search -> check if there's anuthing to update before refreshing. /// |
fakeDelay | bool | /// To make app more responsive micro delays are good to trigger spinners and such. /// |
return | void |
public RemoveAnimeEntry ( AnimeItemAbstraction parentAbstraction ) : void | ||
parentAbstraction | AnimeItemAbstraction | |
return | void |
public SetSortOrder ( SortOptions option ) : void | ||
option | SortOptions | |
return | void |
public TryRetrieveAuthenticatedAnimeItem ( int id, bool anime = true, bool forceMal = false ) : Task |
||
id | int | |
anime | bool | |
forceMal | bool | |
return | Task |
public UpdateGridItemWidth ( double>.Tuple |
||
args | double>.Tuple | |
return | void |