how to get view to alertdialog?

Liste des GroupesRevenir à cm android 
Sujet : how to get view to alertdialog?
De : jak74 (at) *nospam* interia.pl (Jakub)
Groupes : comp.mobile.android
Date : 27. Jun 2024, 11:58:21
Autres entêtes
Organisation : http://www.wit.edu.pl
Message-ID : <v5jgio$3esc5$1@portraits.wsisiz.edu.pl>
User-Agent : Mozilla Thunderbird
I have this for sho alert Dialog
val adBuilder = AlertDialog.Builder(view.context)
         val alertDialog = adBuilder.setCancelable(false)
             .setView(R.layout.addnewwpos)
             .setNegativeButton("CANCEL") {
                     dialogInterface, _ -> dialogInterface.cancel()
                 ZUtils.hideKeyBoard(view, inputMethodManager)
                 MainActivity.showDialogAddPositionOpen = false
             }
             .setPositiveButton("OK", null)
             .create()
         alertDialog.show()
 alertDialog.window?.clearFlags(WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE)
how to get view to alertdialog?

Date Sujet#  Auteur
27 Jun 24 * how to get view to alertdialog?2Jakub
27 Jun 24 `- Re: how to get view to alertdialog?1Arno Welzel

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal