mirror of
https://github.com/Nioux/AideDeJeu.git
synced 2025-10-29 22:45:44 +00:00
Preload
This commit is contained in:
parent
3d9dfa517d
commit
dc4b6fe364
15 changed files with 334 additions and 246 deletions
|
|
@ -176,5 +176,17 @@
|
|||
<ItemGroup>
|
||||
<AndroidResource Include="Resources\drawable-xxxhdpi\ic_launcher.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<AndroidResource Include="Resources\drawable\crystal_ball.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<AndroidResource Include="Resources\drawable-hdpi\crystal_ball.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<AndroidResource Include="Resources\drawable-xhdpi\crystal_ball.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<AndroidResource Include="Resources\drawable-xxhdpi\crystal_ball.png" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildExtensionsPath)\Xamarin\Android\Xamarin.Android.CSharp.targets" />
|
||||
</Project>
|
||||
|
|
@ -2192,602 +2192,605 @@ namespace AideDeJeu.Droid
|
|||
// aapt resource value: 0x7f020053
|
||||
public const int avd_hide_password = 2130837587;
|
||||
|
||||
// aapt resource value: 0x7f020115
|
||||
public const int avd_hide_password_1 = 2130837781;
|
||||
|
||||
// aapt resource value: 0x7f020116
|
||||
public const int avd_hide_password_2 = 2130837782;
|
||||
public const int avd_hide_password_1 = 2130837782;
|
||||
|
||||
// aapt resource value: 0x7f020117
|
||||
public const int avd_hide_password_3 = 2130837783;
|
||||
public const int avd_hide_password_2 = 2130837783;
|
||||
|
||||
// aapt resource value: 0x7f020118
|
||||
public const int avd_hide_password_3 = 2130837784;
|
||||
|
||||
// aapt resource value: 0x7f020054
|
||||
public const int avd_show_password = 2130837588;
|
||||
|
||||
// aapt resource value: 0x7f020118
|
||||
public const int avd_show_password_1 = 2130837784;
|
||||
|
||||
// aapt resource value: 0x7f020119
|
||||
public const int avd_show_password_2 = 2130837785;
|
||||
public const int avd_show_password_1 = 2130837785;
|
||||
|
||||
// aapt resource value: 0x7f02011a
|
||||
public const int avd_show_password_3 = 2130837786;
|
||||
public const int avd_show_password_2 = 2130837786;
|
||||
|
||||
// aapt resource value: 0x7f02011b
|
||||
public const int avd_show_password_3 = 2130837787;
|
||||
|
||||
// aapt resource value: 0x7f020055
|
||||
public const int black_book = 2130837589;
|
||||
|
||||
// aapt resource value: 0x7f020056
|
||||
public const int design_bottom_navigation_item_background = 2130837590;
|
||||
public const int crystal_ball = 2130837590;
|
||||
|
||||
// aapt resource value: 0x7f020057
|
||||
public const int design_fab_background = 2130837591;
|
||||
public const int design_bottom_navigation_item_background = 2130837591;
|
||||
|
||||
// aapt resource value: 0x7f020058
|
||||
public const int design_ic_visibility = 2130837592;
|
||||
public const int design_fab_background = 2130837592;
|
||||
|
||||
// aapt resource value: 0x7f020059
|
||||
public const int design_ic_visibility_off = 2130837593;
|
||||
public const int design_ic_visibility = 2130837593;
|
||||
|
||||
// aapt resource value: 0x7f02005a
|
||||
public const int design_password_eye = 2130837594;
|
||||
public const int design_ic_visibility_off = 2130837594;
|
||||
|
||||
// aapt resource value: 0x7f02005b
|
||||
public const int design_snackbar_background = 2130837595;
|
||||
public const int design_password_eye = 2130837595;
|
||||
|
||||
// aapt resource value: 0x7f02005c
|
||||
public const int dragon_head = 2130837596;
|
||||
public const int design_snackbar_background = 2130837596;
|
||||
|
||||
// aapt resource value: 0x7f02005d
|
||||
public const int ic_audiotrack_dark = 2130837597;
|
||||
public const int dragon_head = 2130837597;
|
||||
|
||||
// aapt resource value: 0x7f02005e
|
||||
public const int ic_audiotrack_light = 2130837598;
|
||||
public const int ic_audiotrack_dark = 2130837598;
|
||||
|
||||
// aapt resource value: 0x7f02005f
|
||||
public const int ic_dialog_close_dark = 2130837599;
|
||||
public const int ic_audiotrack_light = 2130837599;
|
||||
|
||||
// aapt resource value: 0x7f020060
|
||||
public const int ic_dialog_close_light = 2130837600;
|
||||
public const int ic_dialog_close_dark = 2130837600;
|
||||
|
||||
// aapt resource value: 0x7f020061
|
||||
public const int ic_group_collapse_00 = 2130837601;
|
||||
public const int ic_dialog_close_light = 2130837601;
|
||||
|
||||
// aapt resource value: 0x7f020062
|
||||
public const int ic_group_collapse_01 = 2130837602;
|
||||
public const int ic_group_collapse_00 = 2130837602;
|
||||
|
||||
// aapt resource value: 0x7f020063
|
||||
public const int ic_group_collapse_02 = 2130837603;
|
||||
public const int ic_group_collapse_01 = 2130837603;
|
||||
|
||||
// aapt resource value: 0x7f020064
|
||||
public const int ic_group_collapse_03 = 2130837604;
|
||||
public const int ic_group_collapse_02 = 2130837604;
|
||||
|
||||
// aapt resource value: 0x7f020065
|
||||
public const int ic_group_collapse_04 = 2130837605;
|
||||
public const int ic_group_collapse_03 = 2130837605;
|
||||
|
||||
// aapt resource value: 0x7f020066
|
||||
public const int ic_group_collapse_05 = 2130837606;
|
||||
public const int ic_group_collapse_04 = 2130837606;
|
||||
|
||||
// aapt resource value: 0x7f020067
|
||||
public const int ic_group_collapse_06 = 2130837607;
|
||||
public const int ic_group_collapse_05 = 2130837607;
|
||||
|
||||
// aapt resource value: 0x7f020068
|
||||
public const int ic_group_collapse_07 = 2130837608;
|
||||
public const int ic_group_collapse_06 = 2130837608;
|
||||
|
||||
// aapt resource value: 0x7f020069
|
||||
public const int ic_group_collapse_08 = 2130837609;
|
||||
public const int ic_group_collapse_07 = 2130837609;
|
||||
|
||||
// aapt resource value: 0x7f02006a
|
||||
public const int ic_group_collapse_09 = 2130837610;
|
||||
public const int ic_group_collapse_08 = 2130837610;
|
||||
|
||||
// aapt resource value: 0x7f02006b
|
||||
public const int ic_group_collapse_10 = 2130837611;
|
||||
public const int ic_group_collapse_09 = 2130837611;
|
||||
|
||||
// aapt resource value: 0x7f02006c
|
||||
public const int ic_group_collapse_11 = 2130837612;
|
||||
public const int ic_group_collapse_10 = 2130837612;
|
||||
|
||||
// aapt resource value: 0x7f02006d
|
||||
public const int ic_group_collapse_12 = 2130837613;
|
||||
public const int ic_group_collapse_11 = 2130837613;
|
||||
|
||||
// aapt resource value: 0x7f02006e
|
||||
public const int ic_group_collapse_13 = 2130837614;
|
||||
public const int ic_group_collapse_12 = 2130837614;
|
||||
|
||||
// aapt resource value: 0x7f02006f
|
||||
public const int ic_group_collapse_14 = 2130837615;
|
||||
public const int ic_group_collapse_13 = 2130837615;
|
||||
|
||||
// aapt resource value: 0x7f020070
|
||||
public const int ic_group_collapse_15 = 2130837616;
|
||||
public const int ic_group_collapse_14 = 2130837616;
|
||||
|
||||
// aapt resource value: 0x7f020071
|
||||
public const int ic_group_expand_00 = 2130837617;
|
||||
public const int ic_group_collapse_15 = 2130837617;
|
||||
|
||||
// aapt resource value: 0x7f020072
|
||||
public const int ic_group_expand_01 = 2130837618;
|
||||
public const int ic_group_expand_00 = 2130837618;
|
||||
|
||||
// aapt resource value: 0x7f020073
|
||||
public const int ic_group_expand_02 = 2130837619;
|
||||
public const int ic_group_expand_01 = 2130837619;
|
||||
|
||||
// aapt resource value: 0x7f020074
|
||||
public const int ic_group_expand_03 = 2130837620;
|
||||
public const int ic_group_expand_02 = 2130837620;
|
||||
|
||||
// aapt resource value: 0x7f020075
|
||||
public const int ic_group_expand_04 = 2130837621;
|
||||
public const int ic_group_expand_03 = 2130837621;
|
||||
|
||||
// aapt resource value: 0x7f020076
|
||||
public const int ic_group_expand_05 = 2130837622;
|
||||
public const int ic_group_expand_04 = 2130837622;
|
||||
|
||||
// aapt resource value: 0x7f020077
|
||||
public const int ic_group_expand_06 = 2130837623;
|
||||
public const int ic_group_expand_05 = 2130837623;
|
||||
|
||||
// aapt resource value: 0x7f020078
|
||||
public const int ic_group_expand_07 = 2130837624;
|
||||
public const int ic_group_expand_06 = 2130837624;
|
||||
|
||||
// aapt resource value: 0x7f020079
|
||||
public const int ic_group_expand_08 = 2130837625;
|
||||
public const int ic_group_expand_07 = 2130837625;
|
||||
|
||||
// aapt resource value: 0x7f02007a
|
||||
public const int ic_group_expand_09 = 2130837626;
|
||||
public const int ic_group_expand_08 = 2130837626;
|
||||
|
||||
// aapt resource value: 0x7f02007b
|
||||
public const int ic_group_expand_10 = 2130837627;
|
||||
public const int ic_group_expand_09 = 2130837627;
|
||||
|
||||
// aapt resource value: 0x7f02007c
|
||||
public const int ic_group_expand_11 = 2130837628;
|
||||
public const int ic_group_expand_10 = 2130837628;
|
||||
|
||||
// aapt resource value: 0x7f02007d
|
||||
public const int ic_group_expand_12 = 2130837629;
|
||||
public const int ic_group_expand_11 = 2130837629;
|
||||
|
||||
// aapt resource value: 0x7f02007e
|
||||
public const int ic_group_expand_13 = 2130837630;
|
||||
public const int ic_group_expand_12 = 2130837630;
|
||||
|
||||
// aapt resource value: 0x7f02007f
|
||||
public const int ic_group_expand_14 = 2130837631;
|
||||
public const int ic_group_expand_13 = 2130837631;
|
||||
|
||||
// aapt resource value: 0x7f020080
|
||||
public const int ic_group_expand_15 = 2130837632;
|
||||
public const int ic_group_expand_14 = 2130837632;
|
||||
|
||||
// aapt resource value: 0x7f020081
|
||||
public const int ic_home = 2130837633;
|
||||
public const int ic_group_expand_15 = 2130837633;
|
||||
|
||||
// aapt resource value: 0x7f020082
|
||||
public const int ic_launcher = 2130837634;
|
||||
public const int ic_home = 2130837634;
|
||||
|
||||
// aapt resource value: 0x7f020083
|
||||
public const int ic_media_pause_dark = 2130837635;
|
||||
public const int ic_launcher = 2130837635;
|
||||
|
||||
// aapt resource value: 0x7f020084
|
||||
public const int ic_media_pause_light = 2130837636;
|
||||
public const int ic_media_pause_dark = 2130837636;
|
||||
|
||||
// aapt resource value: 0x7f020085
|
||||
public const int ic_media_play_dark = 2130837637;
|
||||
public const int ic_media_pause_light = 2130837637;
|
||||
|
||||
// aapt resource value: 0x7f020086
|
||||
public const int ic_media_play_light = 2130837638;
|
||||
public const int ic_media_play_dark = 2130837638;
|
||||
|
||||
// aapt resource value: 0x7f020087
|
||||
public const int ic_media_stop_dark = 2130837639;
|
||||
public const int ic_media_play_light = 2130837639;
|
||||
|
||||
// aapt resource value: 0x7f020088
|
||||
public const int ic_media_stop_light = 2130837640;
|
||||
public const int ic_media_stop_dark = 2130837640;
|
||||
|
||||
// aapt resource value: 0x7f020089
|
||||
public const int ic_mr_button_connected_00_dark = 2130837641;
|
||||
public const int ic_media_stop_light = 2130837641;
|
||||
|
||||
// aapt resource value: 0x7f02008a
|
||||
public const int ic_mr_button_connected_00_light = 2130837642;
|
||||
public const int ic_mr_button_connected_00_dark = 2130837642;
|
||||
|
||||
// aapt resource value: 0x7f02008b
|
||||
public const int ic_mr_button_connected_01_dark = 2130837643;
|
||||
public const int ic_mr_button_connected_00_light = 2130837643;
|
||||
|
||||
// aapt resource value: 0x7f02008c
|
||||
public const int ic_mr_button_connected_01_light = 2130837644;
|
||||
public const int ic_mr_button_connected_01_dark = 2130837644;
|
||||
|
||||
// aapt resource value: 0x7f02008d
|
||||
public const int ic_mr_button_connected_02_dark = 2130837645;
|
||||
public const int ic_mr_button_connected_01_light = 2130837645;
|
||||
|
||||
// aapt resource value: 0x7f02008e
|
||||
public const int ic_mr_button_connected_02_light = 2130837646;
|
||||
public const int ic_mr_button_connected_02_dark = 2130837646;
|
||||
|
||||
// aapt resource value: 0x7f02008f
|
||||
public const int ic_mr_button_connected_03_dark = 2130837647;
|
||||
public const int ic_mr_button_connected_02_light = 2130837647;
|
||||
|
||||
// aapt resource value: 0x7f020090
|
||||
public const int ic_mr_button_connected_03_light = 2130837648;
|
||||
public const int ic_mr_button_connected_03_dark = 2130837648;
|
||||
|
||||
// aapt resource value: 0x7f020091
|
||||
public const int ic_mr_button_connected_04_dark = 2130837649;
|
||||
public const int ic_mr_button_connected_03_light = 2130837649;
|
||||
|
||||
// aapt resource value: 0x7f020092
|
||||
public const int ic_mr_button_connected_04_light = 2130837650;
|
||||
public const int ic_mr_button_connected_04_dark = 2130837650;
|
||||
|
||||
// aapt resource value: 0x7f020093
|
||||
public const int ic_mr_button_connected_05_dark = 2130837651;
|
||||
public const int ic_mr_button_connected_04_light = 2130837651;
|
||||
|
||||
// aapt resource value: 0x7f020094
|
||||
public const int ic_mr_button_connected_05_light = 2130837652;
|
||||
public const int ic_mr_button_connected_05_dark = 2130837652;
|
||||
|
||||
// aapt resource value: 0x7f020095
|
||||
public const int ic_mr_button_connected_06_dark = 2130837653;
|
||||
public const int ic_mr_button_connected_05_light = 2130837653;
|
||||
|
||||
// aapt resource value: 0x7f020096
|
||||
public const int ic_mr_button_connected_06_light = 2130837654;
|
||||
public const int ic_mr_button_connected_06_dark = 2130837654;
|
||||
|
||||
// aapt resource value: 0x7f020097
|
||||
public const int ic_mr_button_connected_07_dark = 2130837655;
|
||||
public const int ic_mr_button_connected_06_light = 2130837655;
|
||||
|
||||
// aapt resource value: 0x7f020098
|
||||
public const int ic_mr_button_connected_07_light = 2130837656;
|
||||
public const int ic_mr_button_connected_07_dark = 2130837656;
|
||||
|
||||
// aapt resource value: 0x7f020099
|
||||
public const int ic_mr_button_connected_08_dark = 2130837657;
|
||||
public const int ic_mr_button_connected_07_light = 2130837657;
|
||||
|
||||
// aapt resource value: 0x7f02009a
|
||||
public const int ic_mr_button_connected_08_light = 2130837658;
|
||||
public const int ic_mr_button_connected_08_dark = 2130837658;
|
||||
|
||||
// aapt resource value: 0x7f02009b
|
||||
public const int ic_mr_button_connected_09_dark = 2130837659;
|
||||
public const int ic_mr_button_connected_08_light = 2130837659;
|
||||
|
||||
// aapt resource value: 0x7f02009c
|
||||
public const int ic_mr_button_connected_09_light = 2130837660;
|
||||
public const int ic_mr_button_connected_09_dark = 2130837660;
|
||||
|
||||
// aapt resource value: 0x7f02009d
|
||||
public const int ic_mr_button_connected_10_dark = 2130837661;
|
||||
public const int ic_mr_button_connected_09_light = 2130837661;
|
||||
|
||||
// aapt resource value: 0x7f02009e
|
||||
public const int ic_mr_button_connected_10_light = 2130837662;
|
||||
public const int ic_mr_button_connected_10_dark = 2130837662;
|
||||
|
||||
// aapt resource value: 0x7f02009f
|
||||
public const int ic_mr_button_connected_11_dark = 2130837663;
|
||||
public const int ic_mr_button_connected_10_light = 2130837663;
|
||||
|
||||
// aapt resource value: 0x7f0200a0
|
||||
public const int ic_mr_button_connected_11_light = 2130837664;
|
||||
public const int ic_mr_button_connected_11_dark = 2130837664;
|
||||
|
||||
// aapt resource value: 0x7f0200a1
|
||||
public const int ic_mr_button_connected_12_dark = 2130837665;
|
||||
public const int ic_mr_button_connected_11_light = 2130837665;
|
||||
|
||||
// aapt resource value: 0x7f0200a2
|
||||
public const int ic_mr_button_connected_12_light = 2130837666;
|
||||
public const int ic_mr_button_connected_12_dark = 2130837666;
|
||||
|
||||
// aapt resource value: 0x7f0200a3
|
||||
public const int ic_mr_button_connected_13_dark = 2130837667;
|
||||
public const int ic_mr_button_connected_12_light = 2130837667;
|
||||
|
||||
// aapt resource value: 0x7f0200a4
|
||||
public const int ic_mr_button_connected_13_light = 2130837668;
|
||||
public const int ic_mr_button_connected_13_dark = 2130837668;
|
||||
|
||||
// aapt resource value: 0x7f0200a5
|
||||
public const int ic_mr_button_connected_14_dark = 2130837669;
|
||||
public const int ic_mr_button_connected_13_light = 2130837669;
|
||||
|
||||
// aapt resource value: 0x7f0200a6
|
||||
public const int ic_mr_button_connected_14_light = 2130837670;
|
||||
public const int ic_mr_button_connected_14_dark = 2130837670;
|
||||
|
||||
// aapt resource value: 0x7f0200a7
|
||||
public const int ic_mr_button_connected_15_dark = 2130837671;
|
||||
public const int ic_mr_button_connected_14_light = 2130837671;
|
||||
|
||||
// aapt resource value: 0x7f0200a8
|
||||
public const int ic_mr_button_connected_15_light = 2130837672;
|
||||
public const int ic_mr_button_connected_15_dark = 2130837672;
|
||||
|
||||
// aapt resource value: 0x7f0200a9
|
||||
public const int ic_mr_button_connected_16_dark = 2130837673;
|
||||
public const int ic_mr_button_connected_15_light = 2130837673;
|
||||
|
||||
// aapt resource value: 0x7f0200aa
|
||||
public const int ic_mr_button_connected_16_light = 2130837674;
|
||||
public const int ic_mr_button_connected_16_dark = 2130837674;
|
||||
|
||||
// aapt resource value: 0x7f0200ab
|
||||
public const int ic_mr_button_connected_17_dark = 2130837675;
|
||||
public const int ic_mr_button_connected_16_light = 2130837675;
|
||||
|
||||
// aapt resource value: 0x7f0200ac
|
||||
public const int ic_mr_button_connected_17_light = 2130837676;
|
||||
public const int ic_mr_button_connected_17_dark = 2130837676;
|
||||
|
||||
// aapt resource value: 0x7f0200ad
|
||||
public const int ic_mr_button_connected_18_dark = 2130837677;
|
||||
public const int ic_mr_button_connected_17_light = 2130837677;
|
||||
|
||||
// aapt resource value: 0x7f0200ae
|
||||
public const int ic_mr_button_connected_18_light = 2130837678;
|
||||
public const int ic_mr_button_connected_18_dark = 2130837678;
|
||||
|
||||
// aapt resource value: 0x7f0200af
|
||||
public const int ic_mr_button_connected_19_dark = 2130837679;
|
||||
public const int ic_mr_button_connected_18_light = 2130837679;
|
||||
|
||||
// aapt resource value: 0x7f0200b0
|
||||
public const int ic_mr_button_connected_19_light = 2130837680;
|
||||
public const int ic_mr_button_connected_19_dark = 2130837680;
|
||||
|
||||
// aapt resource value: 0x7f0200b1
|
||||
public const int ic_mr_button_connected_20_dark = 2130837681;
|
||||
public const int ic_mr_button_connected_19_light = 2130837681;
|
||||
|
||||
// aapt resource value: 0x7f0200b2
|
||||
public const int ic_mr_button_connected_20_light = 2130837682;
|
||||
public const int ic_mr_button_connected_20_dark = 2130837682;
|
||||
|
||||
// aapt resource value: 0x7f0200b3
|
||||
public const int ic_mr_button_connected_21_dark = 2130837683;
|
||||
public const int ic_mr_button_connected_20_light = 2130837683;
|
||||
|
||||
// aapt resource value: 0x7f0200b4
|
||||
public const int ic_mr_button_connected_21_light = 2130837684;
|
||||
public const int ic_mr_button_connected_21_dark = 2130837684;
|
||||
|
||||
// aapt resource value: 0x7f0200b5
|
||||
public const int ic_mr_button_connected_22_dark = 2130837685;
|
||||
public const int ic_mr_button_connected_21_light = 2130837685;
|
||||
|
||||
// aapt resource value: 0x7f0200b6
|
||||
public const int ic_mr_button_connected_22_light = 2130837686;
|
||||
public const int ic_mr_button_connected_22_dark = 2130837686;
|
||||
|
||||
// aapt resource value: 0x7f0200b7
|
||||
public const int ic_mr_button_connecting_00_dark = 2130837687;
|
||||
public const int ic_mr_button_connected_22_light = 2130837687;
|
||||
|
||||
// aapt resource value: 0x7f0200b8
|
||||
public const int ic_mr_button_connecting_00_light = 2130837688;
|
||||
public const int ic_mr_button_connecting_00_dark = 2130837688;
|
||||
|
||||
// aapt resource value: 0x7f0200b9
|
||||
public const int ic_mr_button_connecting_01_dark = 2130837689;
|
||||
public const int ic_mr_button_connecting_00_light = 2130837689;
|
||||
|
||||
// aapt resource value: 0x7f0200ba
|
||||
public const int ic_mr_button_connecting_01_light = 2130837690;
|
||||
public const int ic_mr_button_connecting_01_dark = 2130837690;
|
||||
|
||||
// aapt resource value: 0x7f0200bb
|
||||
public const int ic_mr_button_connecting_02_dark = 2130837691;
|
||||
public const int ic_mr_button_connecting_01_light = 2130837691;
|
||||
|
||||
// aapt resource value: 0x7f0200bc
|
||||
public const int ic_mr_button_connecting_02_light = 2130837692;
|
||||
public const int ic_mr_button_connecting_02_dark = 2130837692;
|
||||
|
||||
// aapt resource value: 0x7f0200bd
|
||||
public const int ic_mr_button_connecting_03_dark = 2130837693;
|
||||
public const int ic_mr_button_connecting_02_light = 2130837693;
|
||||
|
||||
// aapt resource value: 0x7f0200be
|
||||
public const int ic_mr_button_connecting_03_light = 2130837694;
|
||||
public const int ic_mr_button_connecting_03_dark = 2130837694;
|
||||
|
||||
// aapt resource value: 0x7f0200bf
|
||||
public const int ic_mr_button_connecting_04_dark = 2130837695;
|
||||
public const int ic_mr_button_connecting_03_light = 2130837695;
|
||||
|
||||
// aapt resource value: 0x7f0200c0
|
||||
public const int ic_mr_button_connecting_04_light = 2130837696;
|
||||
public const int ic_mr_button_connecting_04_dark = 2130837696;
|
||||
|
||||
// aapt resource value: 0x7f0200c1
|
||||
public const int ic_mr_button_connecting_05_dark = 2130837697;
|
||||
public const int ic_mr_button_connecting_04_light = 2130837697;
|
||||
|
||||
// aapt resource value: 0x7f0200c2
|
||||
public const int ic_mr_button_connecting_05_light = 2130837698;
|
||||
public const int ic_mr_button_connecting_05_dark = 2130837698;
|
||||
|
||||
// aapt resource value: 0x7f0200c3
|
||||
public const int ic_mr_button_connecting_06_dark = 2130837699;
|
||||
public const int ic_mr_button_connecting_05_light = 2130837699;
|
||||
|
||||
// aapt resource value: 0x7f0200c4
|
||||
public const int ic_mr_button_connecting_06_light = 2130837700;
|
||||
public const int ic_mr_button_connecting_06_dark = 2130837700;
|
||||
|
||||
// aapt resource value: 0x7f0200c5
|
||||
public const int ic_mr_button_connecting_07_dark = 2130837701;
|
||||
public const int ic_mr_button_connecting_06_light = 2130837701;
|
||||
|
||||
// aapt resource value: 0x7f0200c6
|
||||
public const int ic_mr_button_connecting_07_light = 2130837702;
|
||||
public const int ic_mr_button_connecting_07_dark = 2130837702;
|
||||
|
||||
// aapt resource value: 0x7f0200c7
|
||||
public const int ic_mr_button_connecting_08_dark = 2130837703;
|
||||
public const int ic_mr_button_connecting_07_light = 2130837703;
|
||||
|
||||
// aapt resource value: 0x7f0200c8
|
||||
public const int ic_mr_button_connecting_08_light = 2130837704;
|
||||
public const int ic_mr_button_connecting_08_dark = 2130837704;
|
||||
|
||||
// aapt resource value: 0x7f0200c9
|
||||
public const int ic_mr_button_connecting_09_dark = 2130837705;
|
||||
public const int ic_mr_button_connecting_08_light = 2130837705;
|
||||
|
||||
// aapt resource value: 0x7f0200ca
|
||||
public const int ic_mr_button_connecting_09_light = 2130837706;
|
||||
public const int ic_mr_button_connecting_09_dark = 2130837706;
|
||||
|
||||
// aapt resource value: 0x7f0200cb
|
||||
public const int ic_mr_button_connecting_10_dark = 2130837707;
|
||||
public const int ic_mr_button_connecting_09_light = 2130837707;
|
||||
|
||||
// aapt resource value: 0x7f0200cc
|
||||
public const int ic_mr_button_connecting_10_light = 2130837708;
|
||||
public const int ic_mr_button_connecting_10_dark = 2130837708;
|
||||
|
||||
// aapt resource value: 0x7f0200cd
|
||||
public const int ic_mr_button_connecting_11_dark = 2130837709;
|
||||
public const int ic_mr_button_connecting_10_light = 2130837709;
|
||||
|
||||
// aapt resource value: 0x7f0200ce
|
||||
public const int ic_mr_button_connecting_11_light = 2130837710;
|
||||
public const int ic_mr_button_connecting_11_dark = 2130837710;
|
||||
|
||||
// aapt resource value: 0x7f0200cf
|
||||
public const int ic_mr_button_connecting_12_dark = 2130837711;
|
||||
public const int ic_mr_button_connecting_11_light = 2130837711;
|
||||
|
||||
// aapt resource value: 0x7f0200d0
|
||||
public const int ic_mr_button_connecting_12_light = 2130837712;
|
||||
public const int ic_mr_button_connecting_12_dark = 2130837712;
|
||||
|
||||
// aapt resource value: 0x7f0200d1
|
||||
public const int ic_mr_button_connecting_13_dark = 2130837713;
|
||||
public const int ic_mr_button_connecting_12_light = 2130837713;
|
||||
|
||||
// aapt resource value: 0x7f0200d2
|
||||
public const int ic_mr_button_connecting_13_light = 2130837714;
|
||||
public const int ic_mr_button_connecting_13_dark = 2130837714;
|
||||
|
||||
// aapt resource value: 0x7f0200d3
|
||||
public const int ic_mr_button_connecting_14_dark = 2130837715;
|
||||
public const int ic_mr_button_connecting_13_light = 2130837715;
|
||||
|
||||
// aapt resource value: 0x7f0200d4
|
||||
public const int ic_mr_button_connecting_14_light = 2130837716;
|
||||
public const int ic_mr_button_connecting_14_dark = 2130837716;
|
||||
|
||||
// aapt resource value: 0x7f0200d5
|
||||
public const int ic_mr_button_connecting_15_dark = 2130837717;
|
||||
public const int ic_mr_button_connecting_14_light = 2130837717;
|
||||
|
||||
// aapt resource value: 0x7f0200d6
|
||||
public const int ic_mr_button_connecting_15_light = 2130837718;
|
||||
public const int ic_mr_button_connecting_15_dark = 2130837718;
|
||||
|
||||
// aapt resource value: 0x7f0200d7
|
||||
public const int ic_mr_button_connecting_16_dark = 2130837719;
|
||||
public const int ic_mr_button_connecting_15_light = 2130837719;
|
||||
|
||||
// aapt resource value: 0x7f0200d8
|
||||
public const int ic_mr_button_connecting_16_light = 2130837720;
|
||||
public const int ic_mr_button_connecting_16_dark = 2130837720;
|
||||
|
||||
// aapt resource value: 0x7f0200d9
|
||||
public const int ic_mr_button_connecting_17_dark = 2130837721;
|
||||
public const int ic_mr_button_connecting_16_light = 2130837721;
|
||||
|
||||
// aapt resource value: 0x7f0200da
|
||||
public const int ic_mr_button_connecting_17_light = 2130837722;
|
||||
public const int ic_mr_button_connecting_17_dark = 2130837722;
|
||||
|
||||
// aapt resource value: 0x7f0200db
|
||||
public const int ic_mr_button_connecting_18_dark = 2130837723;
|
||||
public const int ic_mr_button_connecting_17_light = 2130837723;
|
||||
|
||||
// aapt resource value: 0x7f0200dc
|
||||
public const int ic_mr_button_connecting_18_light = 2130837724;
|
||||
public const int ic_mr_button_connecting_18_dark = 2130837724;
|
||||
|
||||
// aapt resource value: 0x7f0200dd
|
||||
public const int ic_mr_button_connecting_19_dark = 2130837725;
|
||||
public const int ic_mr_button_connecting_18_light = 2130837725;
|
||||
|
||||
// aapt resource value: 0x7f0200de
|
||||
public const int ic_mr_button_connecting_19_light = 2130837726;
|
||||
public const int ic_mr_button_connecting_19_dark = 2130837726;
|
||||
|
||||
// aapt resource value: 0x7f0200df
|
||||
public const int ic_mr_button_connecting_20_dark = 2130837727;
|
||||
public const int ic_mr_button_connecting_19_light = 2130837727;
|
||||
|
||||
// aapt resource value: 0x7f0200e0
|
||||
public const int ic_mr_button_connecting_20_light = 2130837728;
|
||||
public const int ic_mr_button_connecting_20_dark = 2130837728;
|
||||
|
||||
// aapt resource value: 0x7f0200e1
|
||||
public const int ic_mr_button_connecting_21_dark = 2130837729;
|
||||
public const int ic_mr_button_connecting_20_light = 2130837729;
|
||||
|
||||
// aapt resource value: 0x7f0200e2
|
||||
public const int ic_mr_button_connecting_21_light = 2130837730;
|
||||
public const int ic_mr_button_connecting_21_dark = 2130837730;
|
||||
|
||||
// aapt resource value: 0x7f0200e3
|
||||
public const int ic_mr_button_connecting_22_dark = 2130837731;
|
||||
public const int ic_mr_button_connecting_21_light = 2130837731;
|
||||
|
||||
// aapt resource value: 0x7f0200e4
|
||||
public const int ic_mr_button_connecting_22_light = 2130837732;
|
||||
public const int ic_mr_button_connecting_22_dark = 2130837732;
|
||||
|
||||
// aapt resource value: 0x7f0200e5
|
||||
public const int ic_mr_button_disabled_dark = 2130837733;
|
||||
public const int ic_mr_button_connecting_22_light = 2130837733;
|
||||
|
||||
// aapt resource value: 0x7f0200e6
|
||||
public const int ic_mr_button_disabled_light = 2130837734;
|
||||
public const int ic_mr_button_disabled_dark = 2130837734;
|
||||
|
||||
// aapt resource value: 0x7f0200e7
|
||||
public const int ic_mr_button_disconnected_dark = 2130837735;
|
||||
public const int ic_mr_button_disabled_light = 2130837735;
|
||||
|
||||
// aapt resource value: 0x7f0200e8
|
||||
public const int ic_mr_button_disconnected_light = 2130837736;
|
||||
public const int ic_mr_button_disconnected_dark = 2130837736;
|
||||
|
||||
// aapt resource value: 0x7f0200e9
|
||||
public const int ic_mr_button_grey = 2130837737;
|
||||
public const int ic_mr_button_disconnected_light = 2130837737;
|
||||
|
||||
// aapt resource value: 0x7f0200ea
|
||||
public const int ic_vol_type_speaker_dark = 2130837738;
|
||||
public const int ic_mr_button_grey = 2130837738;
|
||||
|
||||
// aapt resource value: 0x7f0200eb
|
||||
public const int ic_vol_type_speaker_group_dark = 2130837739;
|
||||
public const int ic_vol_type_speaker_dark = 2130837739;
|
||||
|
||||
// aapt resource value: 0x7f0200ec
|
||||
public const int ic_vol_type_speaker_group_light = 2130837740;
|
||||
public const int ic_vol_type_speaker_group_dark = 2130837740;
|
||||
|
||||
// aapt resource value: 0x7f0200ed
|
||||
public const int ic_vol_type_speaker_light = 2130837741;
|
||||
public const int ic_vol_type_speaker_group_light = 2130837741;
|
||||
|
||||
// aapt resource value: 0x7f0200ee
|
||||
public const int ic_vol_type_tv_dark = 2130837742;
|
||||
public const int ic_vol_type_speaker_light = 2130837742;
|
||||
|
||||
// aapt resource value: 0x7f0200ef
|
||||
public const int ic_vol_type_tv_light = 2130837743;
|
||||
public const int ic_vol_type_tv_dark = 2130837743;
|
||||
|
||||
// aapt resource value: 0x7f0200f0
|
||||
public const int icon = 2130837744;
|
||||
public const int ic_vol_type_tv_light = 2130837744;
|
||||
|
||||
// aapt resource value: 0x7f0200f1
|
||||
public const int mr_button_connected_dark = 2130837745;
|
||||
public const int icon = 2130837745;
|
||||
|
||||
// aapt resource value: 0x7f0200f2
|
||||
public const int mr_button_connected_light = 2130837746;
|
||||
public const int mr_button_connected_dark = 2130837746;
|
||||
|
||||
// aapt resource value: 0x7f0200f3
|
||||
public const int mr_button_connecting_dark = 2130837747;
|
||||
public const int mr_button_connected_light = 2130837747;
|
||||
|
||||
// aapt resource value: 0x7f0200f4
|
||||
public const int mr_button_connecting_light = 2130837748;
|
||||
public const int mr_button_connecting_dark = 2130837748;
|
||||
|
||||
// aapt resource value: 0x7f0200f5
|
||||
public const int mr_button_dark = 2130837749;
|
||||
public const int mr_button_connecting_light = 2130837749;
|
||||
|
||||
// aapt resource value: 0x7f0200f6
|
||||
public const int mr_button_light = 2130837750;
|
||||
public const int mr_button_dark = 2130837750;
|
||||
|
||||
// aapt resource value: 0x7f0200f7
|
||||
public const int mr_dialog_close_dark = 2130837751;
|
||||
public const int mr_button_light = 2130837751;
|
||||
|
||||
// aapt resource value: 0x7f0200f8
|
||||
public const int mr_dialog_close_light = 2130837752;
|
||||
public const int mr_dialog_close_dark = 2130837752;
|
||||
|
||||
// aapt resource value: 0x7f0200f9
|
||||
public const int mr_dialog_material_background_dark = 2130837753;
|
||||
public const int mr_dialog_close_light = 2130837753;
|
||||
|
||||
// aapt resource value: 0x7f0200fa
|
||||
public const int mr_dialog_material_background_light = 2130837754;
|
||||
public const int mr_dialog_material_background_dark = 2130837754;
|
||||
|
||||
// aapt resource value: 0x7f0200fb
|
||||
public const int mr_group_collapse = 2130837755;
|
||||
public const int mr_dialog_material_background_light = 2130837755;
|
||||
|
||||
// aapt resource value: 0x7f0200fc
|
||||
public const int mr_group_expand = 2130837756;
|
||||
public const int mr_group_collapse = 2130837756;
|
||||
|
||||
// aapt resource value: 0x7f0200fd
|
||||
public const int mr_media_pause_dark = 2130837757;
|
||||
public const int mr_group_expand = 2130837757;
|
||||
|
||||
// aapt resource value: 0x7f0200fe
|
||||
public const int mr_media_pause_light = 2130837758;
|
||||
public const int mr_media_pause_dark = 2130837758;
|
||||
|
||||
// aapt resource value: 0x7f0200ff
|
||||
public const int mr_media_play_dark = 2130837759;
|
||||
public const int mr_media_pause_light = 2130837759;
|
||||
|
||||
// aapt resource value: 0x7f020100
|
||||
public const int mr_media_play_light = 2130837760;
|
||||
public const int mr_media_play_dark = 2130837760;
|
||||
|
||||
// aapt resource value: 0x7f020101
|
||||
public const int mr_media_stop_dark = 2130837761;
|
||||
public const int mr_media_play_light = 2130837761;
|
||||
|
||||
// aapt resource value: 0x7f020102
|
||||
public const int mr_media_stop_light = 2130837762;
|
||||
public const int mr_media_stop_dark = 2130837762;
|
||||
|
||||
// aapt resource value: 0x7f020103
|
||||
public const int mr_vol_type_audiotrack_dark = 2130837763;
|
||||
public const int mr_media_stop_light = 2130837763;
|
||||
|
||||
// aapt resource value: 0x7f020104
|
||||
public const int mr_vol_type_audiotrack_light = 2130837764;
|
||||
public const int mr_vol_type_audiotrack_dark = 2130837764;
|
||||
|
||||
// aapt resource value: 0x7f020105
|
||||
public const int navigation_empty_icon = 2130837765;
|
||||
public const int mr_vol_type_audiotrack_light = 2130837765;
|
||||
|
||||
// aapt resource value: 0x7f020106
|
||||
public const int notification_action_background = 2130837766;
|
||||
public const int navigation_empty_icon = 2130837766;
|
||||
|
||||
// aapt resource value: 0x7f020107
|
||||
public const int notification_bg = 2130837767;
|
||||
public const int notification_action_background = 2130837767;
|
||||
|
||||
// aapt resource value: 0x7f020108
|
||||
public const int notification_bg_low = 2130837768;
|
||||
public const int notification_bg = 2130837768;
|
||||
|
||||
// aapt resource value: 0x7f020109
|
||||
public const int notification_bg_low_normal = 2130837769;
|
||||
public const int notification_bg_low = 2130837769;
|
||||
|
||||
// aapt resource value: 0x7f02010a
|
||||
public const int notification_bg_low_pressed = 2130837770;
|
||||
public const int notification_bg_low_normal = 2130837770;
|
||||
|
||||
// aapt resource value: 0x7f02010b
|
||||
public const int notification_bg_normal = 2130837771;
|
||||
public const int notification_bg_low_pressed = 2130837771;
|
||||
|
||||
// aapt resource value: 0x7f02010c
|
||||
public const int notification_bg_normal_pressed = 2130837772;
|
||||
public const int notification_bg_normal = 2130837772;
|
||||
|
||||
// aapt resource value: 0x7f02010d
|
||||
public const int notification_icon_background = 2130837773;
|
||||
|
||||
// aapt resource value: 0x7f020113
|
||||
public const int notification_template_icon_bg = 2130837779;
|
||||
|
||||
// aapt resource value: 0x7f020114
|
||||
public const int notification_template_icon_low_bg = 2130837780;
|
||||
public const int notification_bg_normal_pressed = 2130837773;
|
||||
|
||||
// aapt resource value: 0x7f02010e
|
||||
public const int notification_tile_bg = 2130837774;
|
||||
public const int notification_icon_background = 2130837774;
|
||||
|
||||
// aapt resource value: 0x7f020114
|
||||
public const int notification_template_icon_bg = 2130837780;
|
||||
|
||||
// aapt resource value: 0x7f020115
|
||||
public const int notification_template_icon_low_bg = 2130837781;
|
||||
|
||||
// aapt resource value: 0x7f02010f
|
||||
public const int notify_panel_notification_icon_bg = 2130837775;
|
||||
public const int notification_tile_bg = 2130837775;
|
||||
|
||||
// aapt resource value: 0x7f020110
|
||||
public const int spell_book = 2130837776;
|
||||
public const int notify_panel_notification_icon_bg = 2130837776;
|
||||
|
||||
// aapt resource value: 0x7f020111
|
||||
public const int splash = 2130837777;
|
||||
public const int spell_book = 2130837777;
|
||||
|
||||
// aapt resource value: 0x7f020112
|
||||
public const int wooden_sign = 2130837778;
|
||||
public const int splash = 2130837778;
|
||||
|
||||
// aapt resource value: 0x7f020113
|
||||
public const int wooden_sign = 2130837779;
|
||||
|
||||
static Drawable()
|
||||
{
|
||||
|
|
|
|||
Binary file not shown.
|
After Width: | Height: | Size: 2.2 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 3 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 4.6 KiB |
BIN
AideDeJeu/AideDeJeu.Android/Resources/drawable/crystal_ball.png
Normal file
BIN
AideDeJeu/AideDeJeu.Android/Resources/drawable/crystal_ball.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.2 KiB |
|
|
@ -130,6 +130,7 @@
|
|||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Package.StoreAssociation.xml" />
|
||||
<Content Include="crystal_ball.png" />
|
||||
<Content Include="Properties\Default.rd.xml" />
|
||||
<Content Include="Assets\LockScreenLogo.scale-100.png" />
|
||||
<Content Include="Assets\LockScreenLogo.scale-125.png" />
|
||||
|
|
|
|||
BIN
AideDeJeu/AideDeJeu.UWP/crystal_ball.png
Normal file
BIN
AideDeJeu/AideDeJeu.UWP/crystal_ball.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.2 KiB |
|
|
@ -52,47 +52,50 @@ namespace AideDeJeu.Tools
|
|||
{
|
||||
var currentItem = enumerator.Current.GetNewItem();
|
||||
|
||||
enumerator.MoveNext();
|
||||
while (enumerator.Current != null)
|
||||
if (currentItem != null)
|
||||
{
|
||||
var block = enumerator.Current;
|
||||
|
||||
if (block is HtmlBlock)
|
||||
enumerator.MoveNext();
|
||||
while (enumerator.Current != null)
|
||||
{
|
||||
if (block.IsClosingItem())
|
||||
{
|
||||
return currentItem;
|
||||
}
|
||||
else if (block.IsNewItem())
|
||||
{
|
||||
var subItem = ParseItem(ref enumerator);
|
||||
var block = enumerator.Current;
|
||||
|
||||
var propertyName = subItem.GetType().Name;
|
||||
|
||||
if (currentItem.GetType().GetProperty(propertyName) != null)
|
||||
if (block is HtmlBlock)
|
||||
{
|
||||
if (block.IsClosingItem())
|
||||
{
|
||||
PropertyInfo prop = currentItem.GetType().GetProperty(propertyName, BindingFlags.Public | BindingFlags.Instance);
|
||||
if (null != prop && prop.CanWrite)
|
||||
return currentItem;
|
||||
}
|
||||
else if (block.IsNewItem())
|
||||
{
|
||||
var subItem = ParseItem(ref enumerator);
|
||||
|
||||
var propertyName = subItem.GetType().Name;
|
||||
|
||||
if (currentItem.GetType().GetProperty(propertyName) != null)
|
||||
{
|
||||
prop.SetValue(currentItem, subItem, null);
|
||||
PropertyInfo prop = currentItem.GetType().GetProperty(propertyName, BindingFlags.Public | BindingFlags.Instance);
|
||||
if (null != prop && prop.CanWrite)
|
||||
{
|
||||
prop.SetValue(currentItem, subItem, null);
|
||||
}
|
||||
}
|
||||
else if (currentItem is Items)
|
||||
{
|
||||
var items = currentItem as Items;
|
||||
items.Add(subItem);
|
||||
}
|
||||
}
|
||||
else if (currentItem is Items)
|
||||
{
|
||||
var items = currentItem as Items;
|
||||
items.Add(subItem);
|
||||
}
|
||||
}
|
||||
|
||||
else // if (block is ContainerBlock)
|
||||
{
|
||||
ParseItemProperties(currentItem, block);
|
||||
}
|
||||
|
||||
currentItem.Markdown += enumerator.Current.ToMarkdownString();
|
||||
|
||||
enumerator.MoveNext();
|
||||
}
|
||||
|
||||
else // if (block is ContainerBlock)
|
||||
{
|
||||
ParseItemProperties(currentItem, block);
|
||||
}
|
||||
|
||||
currentItem.Markdown += enumerator.Current.ToMarkdownString();
|
||||
|
||||
enumerator.MoveNext();
|
||||
}
|
||||
|
||||
return currentItem;
|
||||
|
|
@ -196,7 +199,7 @@ namespace AideDeJeu.Tools
|
|||
if (htmlBlock.Type == HtmlBlockType.NonInterruptingBlock)
|
||||
{
|
||||
var tag = htmlBlock.Lines.Lines.FirstOrDefault().Slice.ToString();
|
||||
if (!string.IsNullOrEmpty(tag))
|
||||
if (!string.IsNullOrEmpty(tag) && tag != "<br>")
|
||||
{
|
||||
if (tag.StartsWith("<") && !tag.StartsWith("</"))
|
||||
{
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ namespace AideDeJeu.ViewModels
|
|||
|
||||
void AddAnchor(Dictionary<string, Item> anchors, Item item)
|
||||
{
|
||||
if (item != null)
|
||||
if (item != null && item.Name != null)
|
||||
{
|
||||
var basename = Helpers.IdFromName(item.Name);
|
||||
var name = basename;
|
||||
|
|
@ -57,9 +57,37 @@ namespace AideDeJeu.ViewModels
|
|||
}
|
||||
|
||||
private Dictionary<string, ItemWithAnchors> _AllItems = new Dictionary<string, ItemWithAnchors>();
|
||||
|
||||
public async Task PreloadAllItemsAsync()
|
||||
{
|
||||
foreach (var resourceName in Tools.Helpers.GetResourceNames())
|
||||
{
|
||||
var regex = new Regex(@"AideDeJeu\.Data\.(?<name>.*?)\.md");
|
||||
var match = regex.Match(resourceName);
|
||||
var source = match.Groups["name"].Value;
|
||||
if (!string.IsNullOrEmpty(source))
|
||||
{
|
||||
if (!_AllItems.ContainsKey(source))
|
||||
{
|
||||
var md = await Tools.Helpers.GetResourceStringAsync(resourceName);
|
||||
if (md != null)
|
||||
{
|
||||
var item = Tools.MarkdownExtensions.ToItem(md);
|
||||
if (item != null)
|
||||
{
|
||||
var anchors = new Dictionary<string, Item>();
|
||||
MakeAnchors(anchors, item);
|
||||
_AllItems[source] = new ItemWithAnchors() { Item = item, Anchors = anchors };
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public async Task<Item> GetItemFromDataAsync(string source, string anchor)
|
||||
{
|
||||
await Task.Delay(3000);
|
||||
//await Task.Delay(3000);
|
||||
if (!_AllItems.ContainsKey(source))
|
||||
{
|
||||
//var md = await Tools.Helpers.GetStringFromUrl($"https://raw.githubusercontent.com/Nioux/AideDeJeu/master/Data/{source}.md");
|
||||
|
|
@ -95,13 +123,22 @@ namespace AideDeJeu.ViewModels
|
|||
}
|
||||
|
||||
public Command LoadItemsCommand { get; private set; }
|
||||
public Command AboutCommand { get; private set; }
|
||||
|
||||
public Navigator Navigator { get; set; }
|
||||
private Navigator _Navigator = null;
|
||||
public Navigator Navigator
|
||||
{
|
||||
get
|
||||
{
|
||||
return _Navigator;
|
||||
}
|
||||
set
|
||||
{
|
||||
SetProperty(ref _Navigator, value);
|
||||
}
|
||||
}
|
||||
|
||||
public MainViewModel()
|
||||
{
|
||||
AboutCommand = new Command(async () => await Main.Navigator.GotoAboutPageAsync());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -23,11 +23,39 @@ namespace AideDeJeu.ViewModels
|
|||
Navigation = navigation;
|
||||
}
|
||||
|
||||
private Command _AboutCommand = null;
|
||||
public Command AboutCommand
|
||||
{
|
||||
get
|
||||
{
|
||||
return _AboutCommand ?? (_AboutCommand = new Command(async () => await GotoAboutPageAsync()));
|
||||
}
|
||||
}
|
||||
|
||||
public async Task GotoAboutPageAsync()
|
||||
{
|
||||
await Navigation.PushAsync(new Views.AboutPage());
|
||||
}
|
||||
|
||||
private Command _DeepSearchCommand = null;
|
||||
public Command DeepSearchCommand
|
||||
{
|
||||
get
|
||||
{
|
||||
return _DeepSearchCommand ?? (_DeepSearchCommand = new Command(async () => await GotoDeepSearchPageAsync()));
|
||||
}
|
||||
}
|
||||
|
||||
public async Task GotoDeepSearchPageAsync()
|
||||
{
|
||||
Main.IsLoading = true;
|
||||
// à remplacer par gros chargement
|
||||
await Task.Run(async () => await Main.PreloadAllItemsAsync());
|
||||
//await Task.Run(async () => await Task.Delay(5000));
|
||||
Main.IsLoading = false;
|
||||
//await Navigation.PushAsync(new Views.DeepSearchPage());
|
||||
}
|
||||
|
||||
public async Task GotoItemDetailPageAsync(Item item)
|
||||
{
|
||||
if (item == null)
|
||||
|
|
|
|||
|
|
@ -8,7 +8,8 @@
|
|||
x:Name="This"
|
||||
Title="{Binding Title}">
|
||||
<MasterDetailPage.ToolbarItems>
|
||||
<ToolbarItem Name="About" Text="À propos de..." Order="Secondary" Icon="wooden_sign.png" Command="{Binding Main.AboutCommand}" />
|
||||
<ToolbarItem Name="DeepSearch" Text="Rechercher..." Order="Primary" Icon="crystal_ball.png" Command="{Binding Main.Navigator.DeepSearchCommand}" />
|
||||
<ToolbarItem Name="About" Text="À propos de..." Order="Secondary" Icon="wooden_sign.png" Command="{Binding Main.Navigator.AboutCommand}" />
|
||||
</MasterDetailPage.ToolbarItems>
|
||||
<MasterDetailPage.Resources>
|
||||
<ResourceDictionary>
|
||||
|
|
|
|||
|
|
@ -13,7 +13,8 @@
|
|||
</ResourceDictionary>
|
||||
</ContentPage.Resources>
|
||||
<ContentPage.ToolbarItems>
|
||||
<ToolbarItem Name="About" Text="À propos de..." Order="Secondary" Icon="wooden_sign.png" Command="{Binding Main.AboutCommand}" />
|
||||
<ToolbarItem Name="DeepSearch" Text="Rechercher..." Order="Primary" Icon="crystal_ball.png" Command="{Binding Main.Navigator.DeepSearchCommand}" />
|
||||
<ToolbarItem Name="About" Text="À propos de..." Order="Secondary" Icon="wooden_sign.png" Command="{Binding Main.Navigator.AboutCommand}" />
|
||||
</ContentPage.ToolbarItems>
|
||||
<Grid>
|
||||
<ScrollView Orientation="Vertical" BackgroundColor="#fdf1dc">
|
||||
|
|
|
|||
|
|
@ -16,7 +16,8 @@
|
|||
</ResourceDictionary>
|
||||
</ContentPage.Resources>
|
||||
<ContentPage.ToolbarItems>
|
||||
<ToolbarItem Name="About" Text="À propos de..." Order="Secondary" Icon="wooden_sign.png" Command="{Binding Main.AboutCommand}" />
|
||||
<ToolbarItem Name="DeepSearch" Text="Rechercher..." Order="Primary" Icon="crystal_ball.png" Command="{Binding Main.Navigator.DeepSearchCommand}" />
|
||||
<ToolbarItem Name="About" Text="À propos de..." Order="Secondary" Icon="wooden_sign.png" Command="{Binding Main.Navigator.AboutCommand}" />
|
||||
</ContentPage.ToolbarItems>
|
||||
<Grid>
|
||||
<ListView BackgroundColor="{StaticResource bgtan}" x:Name="ItemsListView" ItemsSource="{Binding Items}" VerticalOptions="FillAndExpand" HasUnevenRows="true" CachingStrategy="RecycleElement" SelectedItem="{Binding SelectedItem}" ItemTapped="ItemsListView_ItemTapped">
|
||||
|
|
|
|||
1
Data/crystal-ball.svg
Normal file
1
Data/crystal-ball.svg
Normal file
|
|
@ -0,0 +1 @@
|
|||
<svg style="height: 512px; width: 512px;" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M0 0h512v512H0z" fill="#000" fill-opacity="0"></path><g class="" style="touch-action: none;" transform="translate(0,0)"><path d="M254.563 20.75c-42.96 0-85.918 16.387-118.688 49.156-65.54 65.54-65.852 172.15-.313 237.688 65.54 65.54 172.15 65.226 237.688-.313 65.54-65.538 65.54-171.835 0-237.374-32.77-32.77-75.728-49.156-118.688-49.156zm-.157 18.47c25.68.053 51.363 6.724 74.313 19.968-13.573-3.984-26.266-2.455-34.22 5.5-14.437 14.437-7.796 44.485 14.813 67.093 22.608 22.61 52.625 29.22 67.062 14.782 8.523-8.522 9.706-22.468 4.594-37.125 36.352 57.684 29.586 134.6-20.69 184.875-29.158 29.16-67.353 43.773-105.56 43.813 9.436-2.3 17.762-6.732 24.436-13.406 28.885-28.886 15.64-88.954-29.594-134.19-45.234-45.233-105.302-58.51-134.187-29.624-4.052 4.052-7.266 8.723-9.688 13.875 3.092-33.537 17.473-66.222 43.157-91.905 29.198-29.2 67.384-43.737 105.562-43.656zM386.97 319.28c-.205.206-.39.422-.595.626-72.78 72.78-191.252 73.155-264.03.375-.278-.275-.54-.565-.814-.842-11.987 9.483-18.81 20.384-18.81 32 0 36.523 67.315 66.125 151.343 66.125 84.027 0 152.093-29.6 152.093-66.125 0-11.68-6.97-22.637-19.187-32.157zm39.717 54.564c-22.225 32.29-91.192 55.906-172.625 55.906-81.172 0-149.954-23.46-172.406-55.594-12.638 11.3-19.72 24.052-19.72 37.563.002 46.928 85.546 85.03 192.064 85.03 106.518 0 192.97-38.1 192.97-85.03 0-13.637-7.313-26.498-20.283-37.876z" fill="#fff" fill-opacity="1"></path></g></svg>
|
||||
|
After Width: | Height: | Size: 1.5 KiB |
Loading…
Add table
Add a link
Reference in a new issue