消息相关优化汇总1120(3,6未完成)
This commit is contained in:
@ -484,7 +484,7 @@ public class MainActivity extends BaseFragmentActivity implements OnClickListene
|
||||
if (isNewFirstLaunch) {
|
||||
getPluginUpdate();
|
||||
initConcern(); // 初始化关注
|
||||
sp.edit().putBoolean("isNewFirstLaunchV" + PackageUtils.getVersion(getApplicationContext()), false).apply();
|
||||
// sp.edit().putBoolean("isNewFirstLaunchV" + PackageUtils.getVersion(getApplicationContext()), false).apply();
|
||||
}
|
||||
|
||||
// 获取免责声明
|
||||
@ -751,6 +751,9 @@ public class MainActivity extends BaseFragmentActivity implements OnClickListene
|
||||
* 更新关注列表数据
|
||||
*/
|
||||
private void update() {
|
||||
if (isNewFirstLaunch) {
|
||||
EventBus.getDefault().post(new EBUISwitch("NewsFragment", -1)); //通知更新推荐关注小版块 TODO 插件化平台可能为空
|
||||
}
|
||||
new Thread(){
|
||||
@Override
|
||||
public void run() {
|
||||
|
||||
Reference in New Issue
Block a user