| | |
| | | import android.widget.Button |
| | | import androidx.lifecycle.ViewModelProvider |
| | | import androidx.lifecycle.lifecycleScope |
| | | |
| | | import com.example.firstapp.databinding.ActivitySettingBinding |
| | | import com.example.firstapp.R |
| | | import com.example.firstapp.core.Core |
| | |
| | | |
| | | // 退出登录 |
| | | logout() |
| | | |
| | | // 账号注销 |
| | | accountClose() |
| | | // 关于我们 |
| | | aboutCompany() |
| | | |
| | | |
| | | |
| | | } |
| | | |
| | | private fun aboutCompany(){ |
| | | |
| | | binding.aboutCompany.setOnClickListener { |
| | | |
| | | // 跳转到关于我们的 |
| | | val intent = Intent(this, AboutCompanyActivity::class.java) |
| | | startActivity(intent) |
| | | |
| | | } |
| | | } |
| | | |
| | | private fun accountClose(){ |
| | | |
| | | |