我是Android的新手,我想用这本书的数据创建一个列表。我的名单想要一张照片。我必须在我的ListView中放一些来自url的图片。我从数据库中检索字符串urlImages。 public class customAdapter extends ArrayAdapter<String>{
ArrayList<String> user_name; ArrayList<String>
here is the image explaining the problem so that you can understand better 嗨,朋友们,我正在构建一个聊天模块,我已经使用了回收器视图来实现反向布局(线性布局管理器)。我正在使用Kotlin,当我删除反向布局时,它工作得非常好。这是我的代码。val layoutManager = LinearLayoutManager(requireContext(), RecyclerView
经过一段时间的修改后,我发现在我的布局文件中,如果我将<RecyclerView>更改为<android.support.v7.widget.RecyclerView>,一切都会正常工作。recyclerView = (RecyclerView)findViewById(R.id.cardList); ti