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.
ListViewにあるいくつかのアイテムを無効にしたいAlertDialog。
ListView
AlertDialog
どうすればいいですか?
独自のカスタムListAdapterをAlertDialog.Builderviaに提供しsetAdapter()ます。その後、オーバーライドareAllItemsEnabled()しisEnabled()て、必要なものを有効/無効にすることができます。
ListAdapter
AlertDialog.Builder
setAdapter()
areAllItemsEnabled()
isEnabled()