Загрузка страницы

Dailogs - Part 3, Customization Finale | Dialog.onCreateView

In this final video on Android Dialogs, we have a look at how to create a Dialog with custom layout. Since DialogFragment is subclass of Fragment, you basically get started by overriding the onCreateView to inflate a layout file. You can invoke setStyle to customize the style and and also use getDialog.setTitle() to set a String as title to the custom DialogFragment. To communicate from the DialogFragment to Activity/Fragment from which it was triggered, we can use call back interface and call back method. In this video we go through all of these through a working code demonstration.

Follow me on Twitter: https://twitter.com/anilvdeshpande/

Github link to source code:

Without "None": https://github.com/AnilDeshpande/DialogDemo/tree/without-add
With "None": https://github.com/AnilDeshpande/DialogDemo/tree/with-add

Видео Dailogs - Part 3, Customization Finale | Dialog.onCreateView канала Codetutor
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
17 апреля 2018 г. 12:21:54
00:06:14
Яндекс.Метрика