if(uid == currentUserUid){ //MyPage fragmentView?.account_btn_follow_signout?.text = getString(R.string.signout) fragmentView?.account_btn_follow_signout?.setOnClickListener { activity?.finish() startActivity(Intent(activity,MainActivity::class.java)) auth?.signOut() } } if (uid!=currentUserUid){ //OtherUserPage fragmentView?.account_btn_follow_signout?.text = getString(R.string.follow) fragmentView?.account_btn_follow_signout?.setOnClickListener { requestFollow() } }
if(uid == currentUserUid)
uid
currentUserUid
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)