Skip to content

Commit

Permalink
myCourse: smoother subject filter (fixes #5042)
Browse files Browse the repository at this point in the history
  • Loading branch information
Avinash-Codes committed Jan 16, 2025
1 parent 6945416 commit b5e2851
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ class CoursesFragment : BaseRecyclerFragment<RealmMyCourse?>(), OnCourseItemSele
spnGrade.adapter = gradeAdapter

val subjectAdapter = ArrayAdapter.createFromResource(requireContext(), R.array.subject_level, R.layout.spinner_item)
subjectAdapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item)
subjectAdapter.setDropDownViewResource(R.layout.custom_simple_list_item_1)
spnSubject.adapter = subjectAdapter

spnGrade.onItemSelectedListener = itemSelectedListener
Expand Down

0 comments on commit b5e2851

Please sign in to comment.