Commit 939c3156 authored by mengcuiguang's avatar mengcuiguang

优化分享

parent d9038c85
......@@ -46,6 +46,7 @@ import kotlinx.android.synthetic.main.view_title.*
import net.grandcentrix.tray.AppPreferences
import java.math.BigDecimal
import java.util.*
import kotlin.concurrent.schedule
/**
* 描述:我
......@@ -815,6 +816,10 @@ class MyFragment : BaseFragment(), MyView, OnItemChildClickListener, OnRefreshLi
override fun onShareOk() {
myPresenter.cmtShareStatus()
Timer().schedule(1000,{
shareDialog.dismiss()
})
}
})
shareDialog.show()
......
......@@ -23,6 +23,8 @@ import com.mints.goodmoney.ui.widgets.seekbar.BubbleUtils
import com.mints.goodmoney.utils.QRCodeUtil
import com.mints.goodmoney.utils.ToastUtil
import com.mints.library.utils.GlideUtils
import java.util.*
import kotlin.concurrent.schedule
class ShareDialog(context: Context) : Dialog(context, R.style.dialog) {
......@@ -165,6 +167,7 @@ class ShareDialog(context: Context) : Dialog(context, R.style.dialog) {
} else {
ToastUtil.show(MintsApplication.getContext(), "请先安装微信")
}
}
private fun shareWechatFavoite() {
......@@ -185,5 +188,6 @@ class ShareDialog(context: Context) : Dialog(context, R.style.dialog) {
} else {
ToastUtil.show(MintsApplication.getContext(), "请先安装微信")
}
}
}
\ No newline at end of file
GoodMoney/app/src/main/res/mipmap-xhdpi/bg_share_2.png

776 KB | W: | H:

GoodMoney/app/src/main/res/mipmap-xhdpi/bg_share_2.png

187 KB | W: | H:

GoodMoney/app/src/main/res/mipmap-xhdpi/bg_share_2.png
GoodMoney/app/src/main/res/mipmap-xhdpi/bg_share_2.png
GoodMoney/app/src/main/res/mipmap-xhdpi/bg_share_2.png
GoodMoney/app/src/main/res/mipmap-xhdpi/bg_share_2.png
  • 2-up
  • Swipe
  • Onion skin
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment