摘要:
1.AlarmManager+Service(为确保更稳定的存活,服务使用前台服务来保活。) 2.JobService+Service(不稳定!原因:当jobservice的onStartJob返回true时,且在此过程中始终不手动执行jobFinished时,10min后会自动执行onStopJo 阅读全文
摘要:
It is convenient for chain calls. 阅读全文
摘要:
contract XContract View Presenter Model(optional)ui XActivity/XFragmentpresenter XPresentermodel XModelbasebeanconstantconfignetadapterthirdpartyutil 阅读全文
摘要:
api-store-view<->model-presenter-view 阅读全文
摘要:
1. set layout manager2. prepare data3. new adapter4. set adapter5. set on item click listener 阅读全文
摘要:
Xshell 6 (Build 0189)Copyright (c) 2002 NetSarang Computer, Inc. All rights reserved. Type `help' to learn how to use Xshell prompt.[C:\~]$ Connecting 阅读全文
摘要:
1. methods: mapActions('user', { login (dispatch) { dispatch('loginAction', this) } }) 2. methods: mapActions('user', ['loginAction']) 阅读全文
摘要:
1. 在普通函数或异步函数内,try catch 2. 在异步函数内,await 异步函数.catch 3. 在普通函数内,异步函数.catch 阅读全文