In Android Studio it is possible to select a "minimum API level" that is required to run the developed application. If I use some higher level API, an error is displayed and the code will not compile. This is as desired.
But can I somehow configure Android Studio that it already doesn't show suggestion for APIs that are not supported by my targeted API level?
For Example, if I develop for Android Marshmallow (6.0, API level 23) I want to configure Android Studio so that it does not suggest classes, methods etc. that are only available in Android Oreo (8.0, API level 26).