diff --git a/app/src/main/java/com/example/cyclofit/ui/fragment/LeaderboardFragment.kt b/app/src/main/java/com/example/cyclofit/ui/fragment/LeaderboardFragment.kt index 7e78f59..26effff 100644 --- a/app/src/main/java/com/example/cyclofit/ui/fragment/LeaderboardFragment.kt +++ b/app/src/main/java/com/example/cyclofit/ui/fragment/LeaderboardFragment.kt @@ -5,6 +5,7 @@ import android.util.Log import android.view.* import android.widget.Button import android.widget.CheckBox +import android.widget.RadioButton import androidx.appcompat.widget.SearchView.OnQueryTextListener import androidx.core.view.MenuProvider import androidx.recyclerview.widget.LinearLayoutManager @@ -152,13 +153,13 @@ class LeaderboardFragment : BaseFragment() { ) { view, alertDialog -> var boolean = true - val sortName = view.findViewById(R.id.id_tv_sort_by_name) + val sortName = view.findViewById(R.id.id_tv_sort_by_name) val sortDistance = - view.findViewById(R.id.id_tv_sort_by_distance) + view.findViewById(R.id.id_tv_sort_by_distance) val checkAscending = - view.findViewById(R.id.id_tv_sort_ascending) + view.findViewById(R.id.id_tv_sort_ascending) val checkDescending = - view.findViewById(R.id.id_tv_sort_descending) + view.findViewById(R.id.id_tv_sort_descending) val btnSortList = view.findViewById