Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

단어의 정렬 기준을 바꾸었을 때 뷰가 바로 업데이트되지 않는 버그 #27

Closed
mwy3055 opened this issue Apr 18, 2021 · 0 comments · Fixed by #29
Closed
Assignees
Labels
bug Something isn't working
Milestone

Comments

@mwy3055
Copy link
Owner

mwy3055 commented Apr 18, 2021

Describe the bug
단어의 정렬 기준(사전순, 최신순)을 바꾸었을 때, 스크롤하기 전까지는RecyclerView가 바로 업데이트되지 않는다. 정렬은 새로 되었지만 뷰가 새로 그려지지 않는 상황으로 보인다.

To Reproduce
Steps to reproduce the behavior:

  1. 모두 보기 화면으로 간다.
  2. 단어의 정렬 기준을 바꾼다.
  3. 바뀐 기준으로 정렬되지 않는다.
  4. 위아래로 한번씩 스크롤해야 다시 정렬된다.

Expected behavior
정렬 기준을 바꾼 즉시 RecyclerView가 업데이트되어야 한다.

Screenshots

단어의 정렬 기준이 최신순임에 주목하자.

Smartphone (please complete the following information):

  • Device: LG Q8 (2018)
  • OS: Android 9
  • Version: beta-1.12.2
@mwy3055 mwy3055 added the bug Something isn't working label Apr 18, 2021
@mwy3055 mwy3055 self-assigned this Apr 18, 2021
@mwy3055 mwy3055 added this to the 1.12.3 milestone Apr 18, 2021
mwy3055 added a commit that referenced this issue Apr 21, 2021
데이터를 정렬한 후에 adapter.notifyDataSetChanged()를 호출하면 된다.
mwy3055 added a commit that referenced this issue Apr 21, 2021
fix: #27 단어의 정렬 기준이 바뀌었을 때 RecyclerView가 바로 업데이트됨
@mwy3055 mwy3055 closed this as completed Apr 21, 2021
@mwy3055 mwy3055 mentioned this issue May 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
1 participant