woniu0936

Results 6 comments of woniu0936

我也遇到了这个问题,各位有好的解决方案吗

还有一个关于indicator的问题,因为indicator的切换是在SCROLL_STATE_IDLE时,如果连续滑动好几个page(例如从第一页到第四页),这中间indicator一直指示的是第一页,直到第四页SCROLL_STATE_IDLE时,indicator直接切换第四页对应的位置

@jeetdholakia [grafika](https://github.com/google/grafika) maby help you

你的CameraFilterToneCurve.java中有这段代码GLES20.glBindTexture(GLES20.GL_TEXTURE_2D, mToneCurveTextureId);但是你的fragment_shader_ext_tone_curve.glsl中使用的是uniform samplerExternalOES uTexture;而不是uniform sampler2D uTexture;有点不明白了

应该是和反射有关,混淆后,反射的代码会失效,导致转换代码失效报错,混淆的话,android打包的时候默认混淆,一些三方的库或者sdk,会将反射或者对外暴漏的api方法添加keep规则,以达到能正常使用的目的

我目前的做法比较简单粗暴,就是keep住了这个库的全部代码,来保证运行时不会崩溃,我的keep规则如下: -keep public class com.github.houbb.opencc4j.** { *; } -keep interface com.github.houbb.opencc4j.** { *; } -keep class com.github.houbb.opencc4j.model.** { *; } -keep class com.github.houbb.opencc4j.support.** { *; } -keep public class com.github.houbb.heaven.**...