| | |
| | | import android.provider.MediaStore |
| | | import android.provider.Settings |
| | | import android.util.Log |
| | | import cn.sinata.xldutils.utils.SpanBuilder |
| | | import cn.ptaxi.yuekeduocx.driver.utils.clickDelay |
| | | import cn.ptaxi.yuekeduocx.driver.utils.toast |
| | | import cn.ptaxi.yuekeduocx.driver.R |
| | | import cn.ptaxi.yuekeduocx.driver.base.BaseEvent |
| | | import cn.ptaxi.yuekeduocx.driver.base.MyApplication |
| | | import cn.ptaxi.yuekeduocx.driver.base.MyBaseFragment |
| | | import cn.ptaxi.yuekeduocx.driver.bean.* |
| | | import cn.ptaxi.yuekeduocx.driver.bean.AllPhoneBean |
| | | import cn.ptaxi.yuekeduocx.driver.bean.MerchantInfo |
| | | import cn.ptaxi.yuekeduocx.driver.bean.ModuleBean |
| | | import cn.ptaxi.yuekeduocx.driver.bean.ShareBean |
| | | import cn.ptaxi.yuekeduocx.driver.bean.StringBean |
| | | import cn.ptaxi.yuekeduocx.driver.bean.UserBean |
| | | import cn.ptaxi.yuekeduocx.driver.bean.UserInfoBean |
| | | import cn.ptaxi.yuekeduocx.driver.netUtls.Api |
| | | import cn.ptaxi.yuekeduocx.driver.netUtls.Api.strShare |
| | | import cn.ptaxi.yuekeduocx.driver.netUtls.callNet |
| | |
| | | import cn.ptaxi.yuekeduocx.driver.ui.mine.setting.SettingActivity |
| | | import cn.ptaxi.yuekeduocx.driver.utils.Cache.CacheKey |
| | | import cn.ptaxi.yuekeduocx.driver.utils.ImageUtils |
| | | import cn.ptaxi.yuekeduocx.driver.utils.clickDelay |
| | | import cn.ptaxi.yuekeduocx.driver.utils.glide.GlideUtil |
| | | import cn.ptaxi.yuekeduocx.driver.utils.setDrawableRight |
| | | import cn.ptaxi.yuekeduocx.driver.utils.toast |
| | | import cn.sinata.xldutils.utils.SpanBuilder |
| | | import com.tbruyelle.rxpermissions2.RxPermissions |
| | | import com.umeng.socialize.ShareAction |
| | | import com.umeng.socialize.ShareContent |
| | |
| | | import com.umeng.socialize.media.UMImage |
| | | import com.umeng.socialize.media.UMWeb |
| | | import com.zlzf.zl_payaccount.ZlSdkInto |
| | | import kotlinx.android.synthetic.main.activity_mine.* |
| | | import kotlinx.android.synthetic.main.dialog_share_code.view.* |
| | | import kotlinx.android.synthetic.main.pop_share.view.* |
| | | import kotlinx.android.synthetic.main.activity_mine.iv_head |
| | | import kotlinx.android.synthetic.main.activity_mine.ll_income_order |
| | | import kotlinx.android.synthetic.main.activity_mine.ll_mine_money |
| | | import kotlinx.android.synthetic.main.activity_mine.ll_order_count |
| | | import kotlinx.android.synthetic.main.activity_mine.ll_qr |
| | | import kotlinx.android.synthetic.main.activity_mine.rl_acount_safe |
| | | import kotlinx.android.synthetic.main.activity_mine.rl_call_server |
| | | import kotlinx.android.synthetic.main.activity_mine.rl_change_car |
| | | import kotlinx.android.synthetic.main.activity_mine.rl_line_car |
| | | import kotlinx.android.synthetic.main.activity_mine.rl_mine_eval |
| | | import kotlinx.android.synthetic.main.activity_mine.rl_mine_order |
| | | import kotlinx.android.synthetic.main.activity_mine.rl_put_friend |
| | | import kotlinx.android.synthetic.main.activity_mine.rl_remark |
| | | import kotlinx.android.synthetic.main.activity_mine.rl_set_order |
| | | import kotlinx.android.synthetic.main.activity_mine.rl_setting |
| | | import kotlinx.android.synthetic.main.activity_mine.tv_company |
| | | import kotlinx.android.synthetic.main.activity_mine.tv_left_title_mine |
| | | import kotlinx.android.synthetic.main.activity_mine.tv_name |
| | | import kotlinx.android.synthetic.main.activity_mine.tv_order_income |
| | | import kotlinx.android.synthetic.main.activity_mine.tv_order_num |
| | | import kotlinx.android.synthetic.main.activity_mine.tv_share_income |
| | | import kotlinx.android.synthetic.main.dialog_share_code.view.bg |
| | | import kotlinx.android.synthetic.main.dialog_share_code.view.iv_code |
| | | import kotlinx.android.synthetic.main.dialog_share_code.view.tv_copy |
| | | import kotlinx.android.synthetic.main.dialog_share_code.view.tv_line |
| | | import kotlinx.android.synthetic.main.dialog_share_code.view.tv_save |
| | | import kotlinx.android.synthetic.main.pop_share.view.ll_qq_share |
| | | import kotlinx.android.synthetic.main.pop_share.view.ll_wechat |
| | | import kotlinx.android.synthetic.main.pop_share.view.ll_wechat_q |
| | | import kotlinx.android.synthetic.main.pop_share.view.tv_item_right_share |
| | | import kotlinx.android.synthetic.main.pop_share.view.view_close_share |
| | | import org.jetbrains.anko.startActivity |
| | | import java.io.File |
| | | import java.io.FileOutputStream |
| | | import java.net.InetAddress |
| | | import java.net.NetworkInterface |
| | | import java.util.* |
| | | import java.util.Collections |
| | | |
| | | |
| | | class MineActivity : MyBaseFragment() { |
| | |
| | | this.data = it |
| | | GlideUtil.loady(MyApplication.getInstance(), it.avatar, iv_head) |
| | | tv_name.text = it.name + " " + it.licensePlate |
| | | tv_name.setDrawableRight(if (it.sex == 1) R.mipmap.icon_me_boy else R.mipmap.icon_me_girl) |
| | | tv_company.text = it.brand |
| | | } |
| | | } |