リストビューのすべての行にトグルボタンを追加する方法を知っています。しかし、特定の 1 つの listView 行だけに ToggleButton を追加するにはどうすればよいですか?
私のlistViewにArrayAdapterを入力しています
ListView mlistView = (ListView) findViewById(R.id.listViewSetting);
mlistView.setAdapter(new ArrayAdapter<String>(this,
android.R.layout.simple_list_item_1,
new String[] {"Rate @ME App", "Feedback", "Block", "Terms of Service", "Push Notifications", "Sign Out"}));