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

fix: 검색 뒤로가기 버튼 안 먹음 #48

Open
euzl opened this issue Jan 12, 2021 · 1 comment
Open

fix: 검색 뒤로가기 버튼 안 먹음 #48

euzl opened this issue Jan 12, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@euzl
Copy link
Owner

euzl commented Jan 12, 2021

UserActivity에서 검색 후, 뒤로가기 버튼을 눌렀을 때 커서가 해제되고, hint가 표시되어야 하는데 바로 로그아웃 다이얼로그가 뜸


코드를 보니

        searchEdt.setOnEditorActionListener(new TextView.OnEditorActionListener()
        {
            @Override
            public boolean onEditorAction(TextView v, int actionId, KeyEvent event)
            {
                if(actionId == EditorInfo.IME_ACTION_DONE)
                {
                    searchPlace(searchEdt.getText().toString());
                    isSearchMode = true;
                    return true;
                }
                return false;
            }
        });

이렇게 되어있다. 무조건 false를 리턴하네? 근데 이거 문제는 아닐 것 같고.. onBackButton() 메소드에 문제가 있는 것 같은데 디버깅을 해봐야 될 것 같다ㅜㅜ 지금은 할 수가 없어서 다음에!

@euzl euzl added the bug Something isn't working label Jan 12, 2021
@euzl
Copy link
Owner Author

euzl commented Apr 10, 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
Development

No branches or pull requests

1 participant