Legacy ListPreference in Android comes with:
protected void onPrepareDialogBuilder(android.app.AlertDialog.Builder builder)
That could be use to modify rows in the displayed dialog... see custom row in a listPreference?
This method is not available anymore in the androidx.preference library wondering how to achieve rows customization in the displayed dialog when using androidx.preference support library?