移动列表视图数据进行编辑的文字, [英] to move listview data to edit text,

查看:73
本文介绍了移动列表视图数据进行编辑的文字,的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不能让Clearview的在这... 我需要重复使用的ListView DATAS为了某种目的,我要怎么到ListView数据移动到的EditText ..好心协助样品code ..

i cant get clearview in this... i need reuse the listview datas for some purpose, i wish to how to move the listview data to a edittext.. kindly assist with sample code..

推荐答案

您可能会具有其中包含列表视图中获得。

You might be having an array which holds the data the list view gets.

您可以监听名单上onItemSelected事件,并获得选择的行的位置,然后拿起的数据在你的基地阵这个位置。现在把这些数据转化为EditText上。

You can listen for onItemSelected event on the list, and get the position of the row selected, and then pick up the data at this position in your base array. now put this data into EditText.

这是在当你想,当用户点击一个特定的行把文本编辑文本的情况。

This is in the case when you want to put the text into edit text when user clicks a particular row.

需要更多帮助? 恢复!

Need more help? revert!

这篇关于移动列表视图数据进行编辑的文字,的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆