Sorting
This commit is contained in:
@@ -43,21 +43,6 @@ class UserListFragment : BaseFragment() {
|
||||
sharedPreference = requireContext().getSharedPreferences("PREFERENCE_NAME", Context.MODE_PRIVATE)
|
||||
setupViews()
|
||||
return binding.root
|
||||
//
|
||||
// val view = inflater.inflate(R.layout.fragment_user_list, container, false)
|
||||
//
|
||||
// val crashButton = Button(requireContext())
|
||||
// crashButton.text = "Test Crash"
|
||||
// crashButton.setOnClickListener {
|
||||
// throw RuntimeException("Test Crash") // Force a crash
|
||||
// }
|
||||
//
|
||||
// val layout = view.findViewById<ViewGroup>(R.id.fragment_layout)
|
||||
// layout.addView(crashButton, ViewGroup.LayoutParams(
|
||||
// ViewGroup.LayoutParams.MATCH_PARENT,
|
||||
// ViewGroup.LayoutParams.WRAP_CONTENT))
|
||||
//
|
||||
// return view
|
||||
}
|
||||
|
||||
override fun onResume() {
|
||||
|
||||
Reference in New Issue
Block a user