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.
我正在开发一个 android rest 客户端应用程序,我现在可以从本地服务器检索数据,但是当点击我的回收站视图中的 cardview 时,我愿意显示更多数据。因此,如果有人对如何做到这一点有任何想法,或者有教程,请分享。
嗯,我认为这将在单击卡片视图时对您有所帮助
holder.lnrLayout.setOnClickListener(new View.OnClickListener(){ public void onClick(View v) { intent.putExtra("movie_year",getDataAdapter1.getMovie_year()) ; v.getContext().startActivity(intent); } }); }