カスタム listadapter を使用したリスト ビューがあります。アダプターの getView メソッド内で、行のレイアウトを初期化します。各行の中に TextView があります。
特定の値を特定の行の TextViews に渡したいと思います。出来ますか?
アダプターコードは次のとおりです。
@Override
public View getView(int position, View convertView, ViewGroup parent) {
View row = convertView;
final Model model = arrList.get(position);
if (row == null) {
row = inflater.inflate(R.layout.list_row, null, false);
holder = new ViewHolder();
holder.text = (TextView) row.findViewById(R.id.textview);
holder.button = (Button) row.findViewById(R.id.okbutton);
holder.numberPicker = (com.lol.helen.widgets.NumberPicker) row.findViewById(R.id.numb_pickr);