Guo_shaoshan
2023-04-24 f21e1ae4b858b6a329b717eaf420d4a1e79d9509
app/src/main/java/com/application/zhangshi_app_android/ui/DLBaseActivity.java
@@ -91,11 +91,16 @@
            classMap.put(null,(LinearLayout) findViewById(R.id.dl_privacy));
            setSelectItem(classMap.get(getClass()));
            for (Map.Entry<Class, LinearLayout> set : classMap.entrySet()) {
                set.getValue().setOnClickListener(v -> {
                    if (set.getKey() != null){
                        AppManager.getAppManager().startActivity(set.getKey());
                    }
                });
                LinearLayout linearLayout = set.getValue();
                if (linearLayout != null) {
                    linearLayout.setOnClickListener(v -> {
                        if (set.getKey() != null){
                            AppManager.getAppManager().startActivity(set.getKey());
                        }
                    });
                } else {
                }
            }
            mDrawerLayout.setScrimColor(getResources().getColor(R.color.color_shadow));
        }