4

I am confused which version of SearchView I should use. The documentation for androidx.appcompat.widget.SearchView clearly states

If you're developing your app for API level 11 and higher only, you should instead use the framework android.widget.SearchView class.

However I can't quite imagine that this is true or a good idea, as e.g. android.widget.SearchView from API level 11 might be different than e.g. the one from API level 29. So, anyone knows why the official documentation recommends to use android.widget.SearchView instead of androidx.appcompat.widget.SearchView?

stefan.at.kotlin
  • 15,347
  • 38
  • 147
  • 270

0 Answers0