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( |
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.base | |
import android.os.Bundle | |
import android.view.* | |
import androidx.databinding.ViewDataBinding | |
import androidx.fragment.app.DialogFragment | |
import com.example.samplemediumapp.R | |
abstract class BaseDialogFragment<VB : ViewDataBinding> : DialogFragment() { |
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
<?xml version="1.0" encoding="utf-8"?> | |
<layout xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:app="http://schemas.android.com/apk/res-auto" | |
xmlns:tools="http://schemas.android.com/tools"> | |
<data> | |
</data> | |
<androidx.constraintlayout.widget.ConstraintLayout |