马江林

Results 5 issues of 马江林

一直不停的redirect wget http://127.0.0.1:8000/admin --2021-03-12 12:13:46-- http://127.0.0.1:8000/admin Connecting to 127.0.0.1:8000... connected. HTTP request sent, awaiting response... 302 Found Location: http://127.0.0.1:8000/admin/auth/login [following] --2021-03-12 12:13:46-- http://127.0.0.1:8000/admin/auth/login Connecting to 127.0.0.1:8000... connected. HTTP request sent,...

When the content height is bigger than the panal size, the scroll area is error ### To reproduce https://codesandbox.io/s/naughty-dirac-j06l9r ### Expected behavior The area with green background can scroll. ###...

bug

两个ToggleButton,状态互斥 初始化的时候,设置状态不带动画 t1.setToggleOn(false); t2.setToggleOff(false); 发现第一次切换的时候,t1和t2总有1个状态不正常 如果使用 t1.setToggleOn(true); t2.setToggleOff(true); 这个时候就正常 这个是不是bug呢? 如果是bug,也可以不改,我可以使用带动画的初始化方法 代码如下: public class SettingNotificationActivity { private ToggleButton fixtimeToggle; private ToggleButton realtimeToggle; ``` //设置的最终值,服务器保存成功才生效,启动时从设置读取 private boolean realtimeNotification = false; @Override...

File: com.example.compose.snippets.layouts.ConstraintLayoutSnippets.kt ``` fun DecoupledConstraintLayout() { BoxWithConstraints { val constraints = if (minWidth < 600.dp) { decoupledConstraints(margin = 16.dp) // Portrait constraints } else { decoupledConstraints(margin = 32.dp) // Landscape...