This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@AndroidEntryPoint | |
class MainActivity : AppCompatActivity() { | |
private val mainViewModel: MainViewModel by viewModels() | |
private lateinit var binding: ActivityMainBinding | |
private var baseUrl = "https://id.egov.uz" | |
private var responseType = "one_code" | |
private var clientId = "admin-qurilish_sport_uz" | |
private var redirectUri = "https://my.sport.uz/" | |
private var scope = "vakansiya.edu.uz" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ClassStudentListAdapter : PagingDataAdapter<ClassStudentObject, ClassStudentListAdapter.ViewHolder>(DiffClassStudentCallback()) { | |
class ViewHolder private constructor(binding: ItemStudentsModuleListBinding) : RecyclerView.ViewHolder( | |
binding.root | |
){ | |
fun bind(item: ClassStudentObject?) { | |
setData(item!!) | |
} |