| | |
| | | /// <summary> |
| | | /// 版本号 |
| | | /// </summary> |
| | | public static string VersionString = "1.0.1222"; |
| | | public static string VersionString = "1.0.1225"; |
| | | ///// <summary> |
| | | ///// 客户端类型 |
| | | ///// </summary> |
| | |
| | | //{ IsBackground = true }.Start(); |
| | | Common.ApiUtlis.Ins.DownloadData(); |
| | | |
| | | GoUserPage(true); |
| | | GoUserPage(false,true); |
| | | } |
| | | } |
| | | } |
| | |
| | | /// </summary> |
| | | /// <param name="isFirstOpen">如果是第一次启动 检测校验密码</param> |
| | | /// <param name="pageShowEvent">主页显示之后触发的事件(没有住宅的话,则不会触发)</param> |
| | | public static void GoUserPage(bool isFirstOpen = false, Action pageShowEvent = null) |
| | | public static void GoUserPage(bool downloadData , bool isFirstOpen = false, Action pageShowEvent = null) |
| | | { |
| | | //加载Loading效果 |
| | | var waitPage = new Loading(); |
| | |
| | | { |
| | | Application.RunOnMainThread(() => |
| | | { |
| | | ///初始化app数据 |
| | | InitializationData(); |
| | | if (downloadData) |
| | | { |
| | | ///初始化app数据 |
| | | Common.ApiUtlis.Ins.DownloadData(); |
| | | }; |
| | | }); |
| | | } |
| | | }).Start(); |
| | |
| | | /// <summary> |
| | | /// 初始化app所需要的数据 |
| | | /// </summary> |
| | | public static void InitializationData() |
| | | public static void InitializationData1() |
| | | { |
| | | //new System.Threading.Thread(() => |
| | | //{ |
| | |
| | | //}) |
| | | //{ IsBackground = true }.Start(); |
| | | |
| | | #region 读取本地数据 |
| | | //读取音乐信息 |
| | | UI.Music.A31MusicModel.ReadMusicStates(); |
| | | //搜索网关 |
| | | DriverLayer.Control.Ins.SearchLoaclGateway(); |
| | | #endregion |
| | | } |
| | | |
| | | /// <summary> |