Created
October 19, 2022 11:01
-
-
Save arsalanfakhar/ca70fc48be5641a490e9e73e34086ca1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.example.samplemediumapp.ui.a_dialog | |
import android.view.LayoutInflater | |
import android.view.ViewGroup | |
import com.example.samplemediumapp.base.BaseDialogFragment | |
import com.example.samplemediumapp.databinding.DialogGreetingBinding | |
class GreetingDialog:BaseDialogFragment<DialogGreetingBinding>() { | |
override fun getBindView( | |
inflater: LayoutInflater, | |
container: ViewGroup? | |
): DialogGreetingBinding { | |
return DialogGreetingBinding.inflate(inflater, container, false).apply { | |
this.thanksbtn.setOnClickListener { | |
dismiss() | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment