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
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
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
Location aware Android Apps - Part 4, Introducing Google MapsAskCodetutor - Edition 4, Should I migrate to Compose!!!???? and moreCollection Operations | Transformation | map | zip : Kotlin Fundamentals Tutorial - Part 40Tools & Techniques | Edition - 3 | LottieLocation aware Android apps - Part 9, Reverse Geocoding Finale | Getting address from GeocoderCollections | Retrieving Single element from Collection : Kotlin Fundamentals Tutorial - Part - 46AAA - Part 12, Need for ViewModel | Understanding ViewModel in MVVMBroadcast Receivers - Part 4, Ordered Broadcast ReceiversCodetutor - Special Edition IX, Hurrah... 10k subscribers reachedAndroid Intents Part 3 - Passing Data using IntentsSwift - Part 5, String InterpolationWhat's cooking? - Glimpse of upcoming topicsAndroid SQLite CRUD Operations - Android Data Persistence Tutorial - Part 8,Code level workflow change for Compose : Jetpack Compose - 3Abstract classes | functions | properties: Kotlin Fundamentals Tutorial - Part 17Multithreaded Coroutines | CoroutineDispatchers | CoroutineScope : Kotlin Fundamentals - 53,Control Flow | for loop | in, rangeTo, downTo, step, until : Kotlin Fundamentals Tutorial - PartWeb services & Android - Part 7, Refactoring for okHttp | FinaleSwift Tutorials - Part 38, Guard & guard let | quirky alternate to if & if let | Swift FinaleSwift Tutorials - Part 32, Protocols through ExtensionSwift - Part 8, Operators & Control Flow (If Else)