Multiple listviews are not available on fragments

Asked 2 years ago, Updated 2 years ago, 44 views

If you try to use more than one listview on a fragment, an error occurs and it does not work well.
The listview id should be @id/android:list.
Can I use more than one listview in a class that extends listfragment?

android

2022-09-30 20:16

1 Answers

I recommend placing two ListViews on a regular Fragment because it is troublesome.

"ListFragment multiple lists" Search results I understand that you can't find it right away, or that you use two ListFragments, but I don't think ListFragments are supposed to have two ListFragainst ListFragments. – 272shin 1621 hours ago


2022-09-30 20:16

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.