XDao7
XDao7
如题,感谢( ̄︶ ̄)↗
我在Android Studio中使用implementation("dev.icerock.moko:socket-io:0.4.0")的方式引入了这个库,然后按照readme的示例代码,使用了ws://...类型的地址,发生了如下报错: ``` Caused by: java.lang.RuntimeException: java.net.MalformedURLException: unknown protocol: ws at io.socket.client.Url.parse(Url.java:52) at io.socket.client.IO.socket(IO.java:61) at io.socket.client.IO.socket(IO.java:42) at dev.icerock.moko.socket.Socket.(Socket.kt:25) ``` 在socket.io-client-java中查找到了类似的[issues](https://github.com/socketio/socket.io-client-java/issues/233),看起来socket.io-client-java已经修复了这个问题。在io.socket.client.IO类中使用了URI而不是URL。 The following is the translation: I introduced this library in...
**Describe the bug** 在使用子采样加载大图的时候,出现了缩略图加载成功,但是子采样失败的问题,log如下: ``` ZoomableState@9df97bfd. reset:contentScaleChanged. containerSize=522x457, contentSize=522x457, contentOriginSize=0x0, contentScale=Fit, alignment=Center, rotation=0, scalesCalculator=DynamicScalesCalculator(multiple=3.0), readMode=ReadMode(sizeType=3, decider=LongImageDecider(2.5:5.0)). lastContentVisibleCenter=261x228. minScale=1.0, mediumScale=3.0, maxScale=9.0, baseTransform=(1.0x1.0,0.0x0.0,0.0,0.0x0.0,0.5x0.5), userTransform=(1.0x1.0,0.0x0.0,0.0,0.0x0.0,0.0x0.0), transform=(1.0x1.0,0.0x0.0,0.0,0.0x0.0,0.5x0.5) ZoomableState@9df97bfd. reset:alignmentChanged. All parameters unchanged ZoomableState@9df97bfd. reset:readModeChanged....