Converting String Into Textview? September 25, 2023 Post a Comment Have a look at this code: ArrayList row = data.get(position); TextView idText = new TextView(this); idText.setText(row.get(0).toString()); tableRow.addView(idText);Solution 1: ///you did mistake while copy paste//idText using in all Tvlet do it as below Baca JugaSave List To SqliteHow To Get Values From Dynamically Created Edittext Fields?Listview No Longer Reacts To Onclick After A Call To Setselection()TextView idText = new TextView(this); idText.setText(row.get(0).toString()); tableRow.addView(idText); TextView storeText = new TextView(this); storeText.setText(row.get(1).toString()); tableRow.addView(storeText); TextView maggiText = new TextView(this); maggiText.setText(row.get(2).toString()); tableRow.addView(maggiText); CopySolution 2: ArrayList row = data.get(position);for(int i=0; i<row.size(); i++) { TextView text= new TextView(this); idText.setText(row.get(i).toString()); tableRow.addView(idText); } Copy Share You may like these posts Onclick Event Is Not Triggered For Image Button Placed On Image View In The CardviewActivity Not Properly Managing Cursor.Supportmapfragment With A Custom Layout, Possible?Using Camera.takepicture With Front Camera Causes Phone To Crash Post a Comment for "Converting String Into Textview?"