|
@@ -32,6 +32,7 @@ class DownlaodAppFragment : DialogFragment(), View.OnTouchListener {
|
|
|
private var upgradeBtn: AppCompatButton? = null
|
|
|
private var progressBar: ProgressBar? = null
|
|
|
private var tvProgress: AppCompatTextView? = null
|
|
|
+ private var tvTitle: AppCompatTextView? = null
|
|
|
|
|
|
private var content: Context? = null
|
|
|
private var url: String = ""
|
|
@@ -76,6 +77,7 @@ class DownlaodAppFragment : DialogFragment(), View.OnTouchListener {
|
|
|
private fun findId(rootView: View) {
|
|
|
upgradeBtn = rootView.findViewById(R.id.upgradeBtn)
|
|
|
tvProgress = rootView.findViewById(R.id.tvProgress)
|
|
|
+ tvTitle = rootView.findViewById(R.id.tvTitle)
|
|
|
progressBar = rootView.findViewById(R.id.progressBar)
|
|
|
}
|
|
|
|
|
@@ -94,6 +96,8 @@ class DownlaodAppFragment : DialogFragment(), View.OnTouchListener {
|
|
|
upgradeBtn?.show(false)
|
|
|
tvProgress?.show(true)
|
|
|
progressBar?.show(true)
|
|
|
+ tvTitle?.show(false)
|
|
|
+
|
|
|
}
|
|
|
}
|
|
|
|