Commit 7cb6e7f2 by hk

1.1.6更新文档

parent 03fcfb00
# Launcher[![Release Version](https://img.shields.io/badge/release-1.1.5-red.svg)](https://git.dankal.cn/lihuaikun/androidlibrary/tree/master/cn/dankal/android/launcher/1.1.5) # Launcher[![Release Version](https://img.shields.io/badge/release-1.1.6-red.svg)](https://git.dankal.cn/lihuaikun/androidlibrary/tree/master/cn/dankal/android/launcher/1.1.6)
1. 添加依赖配置 1. 添加依赖配置
```groovy ```groovy
//在build.gradle中添加maven //在build.gradle中添加maven
...@@ -114,7 +114,13 @@ ...@@ -114,7 +114,13 @@
//在假日模式过期之后需要主动调用此方法设置为其他模式) //在假日模式过期之后需要主动调用此方法设置为其他模式)
LauncherManager.getInstance().setCurrentWorkMode(ColumnDef.TimeManager.WORK_DAY); LauncherManager.getInstance().setCurrentWorkMode(ColumnDef.TimeManager.WORK_DAY);
``` ```
8. 控制桌面是否可卸载
```java
//true 可卸载 默认false
LauncherManager.getInstance().changeUninstallEnable(true);
//获取当前是否可卸载
LauncherManager.getInstance().getUninstallEnable();
```
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment