public static boolean isViewIgnored(View view) {
        try {
            //基本校验
            if (view == null) {
                return true;
            }

            //ViewType 被忽略
            List<Class<?>> mIgnoredViewTypeList = SensorsDataAPI.sharedInstance().getIgnoredViewTypeList();
            if (mIgnoredViewTypeList != null) {
                for (Class<?> clazz : mIgnoredViewTypeList) {
                    if (clazz.isAssignableFrom(view.getClass())) {
                        return true;
                    }
                }
            }

            //View 被忽略
            return "1".equals(view.getTag(R.id.sensors_analytics_tag_view_ignored));
        } catch (Exception e) {
            SALog.printStackTrace(e);
            return true;
        }
    }
@Test
    public void testIsViewIgnored() {
        SensorsDataAPI sensorsDataAPI = SAHelper.initSensors(mApplication);
        TextView textView1 = new TextView(mApplication);
        textView1.setText("child1");
        sensorsDataAPI.ignoreView(textView1);
        Assert.assertTrue(SAViewUtils.isViewIgnored(textView1));
    }