React-native-blur: Android doesn't work

Created on 16 Jul 2018  ·  4Comments  ·  Source: Kureev/react-native-blur

                <BlurView
                    style={styles.absolute}
                    blurType="light"
                    blurAmount={10}
                />
                <Animatable.View 
                duration={500}
                animation={"fadeInDownBig"} style={{}}>
                    <FlatList
                        data={this.state.dataSource}
                        style={{ backgroundColor:GlobalColor.f0f0f0,marginTop:this.props.type == "MyReservation"?ScreenUtils.scaleSize(height):0 }}
                        renderItem={this.renderRow.bind(this)}
                        keyExtractor={(item, index) => {
                            return index
                        }}
                    />
                </Animatable.View>
        </View>

Android doesn't work but ios does,What code do I need to set。

2018-07-16 4 26 49
2018-07-16 4 26 42

Most helpful comment

安卓上必须给一个viewRef属性,来制定模糊对象的加载状态,否则就会无效

All 4 comments

my code...

2018-07-16 4 30 54

安卓上必须给一个viewRef属性,来制定模糊对象的加载状态,否则就会无效

安卓 加viewRef也没效果

加了也无效

Was this page helpful?
0 / 5 - 0 ratings