Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
所以我正在尝试调整包含图像的加载器的大小。这就是发生的事情:
img_width 是我作为参数接收的 int 。请注意,当我不尝试设置图像的宽度或高度时,图像会出现在屏幕上,但现在不是。我究竟做错了什么?
好的,所以这是我的一个初学者错误,我只需要在调整内容之前确保内容是带有监听器的加载器。