Compare commits
No commits in common. "main" and "Frontend" have entirely different histories.
@ -15,7 +15,7 @@ class AccessLogAdapter(private val accessLogs: List<AccessLog>) : RecyclerView.A
|
||||
val readerId: TextView = itemView.findViewById(R.id.reader_id)
|
||||
val accessType: TextView = itemView.findViewById(R.id.access_type)
|
||||
}
|
||||
//.
|
||||
|
||||
override fun onCreateViewHolder(parent: ViewGroup, viewType: Int): AccessLogViewHolder {
|
||||
val view = LayoutInflater.from(parent.context).inflate(R.layout.item_access_log, parent, false)
|
||||
return AccessLogViewHolder(view)
|
||||
|
@ -34,7 +34,7 @@ class AdminFragment : Fragment(R.layout.fragment_admin) {
|
||||
|
||||
setupUI()
|
||||
}
|
||||
//.
|
||||
|
||||
private fun setupUI() {
|
||||
binding.viewEmployeeInfo.setOnClickListener {
|
||||
val login = binding.employeeLogin.text.toString()
|
||||
|
@ -22,7 +22,7 @@ class RootActivity : AppCompatActivity() {
|
||||
navController.setGraph(R.navigation.nav_graph) // Устанавливаем граф навигации
|
||||
}
|
||||
|
||||
// Настройка кнопки "Назад"
|
||||
// Настраиваем кнопку "Назад"
|
||||
onBackPressedDispatcher.addCallback(
|
||||
this,
|
||||
object : OnBackPressedCallback(true) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user