Implemented contact details everywhere#336
Conversation
|
Current issues:
|
It was already working fine on contacts tab, without the problems you've described. You shouldn't overwrite it there. |
The reason I added that to the contacts page is because the same adapter is used for the dialpad. If dialpad gets its own adapter that wouldn't be necessary (my other PR) does this) |
I bet that even now it's not necessary. The same adapter is used by Dialpad and Favorites, yet they have a different item click action. |
|
I don't handle the profile icon click in that item click action function as there's no parameter to indicate what specific part was clicked. The only way I could tell what was clicked is to either handle it in the adapter or rework MyRecyclerViewAdapter to provide on onclick action that specifies what view was clicked. I could add a parameter to the contact adapter to enable this functionality or specify a profile click action that's null by default. |
It'll require a bit more change but you should be able to solve this by setting a long click listener on the image view and then call
That should do it, a lambda named
|
|
Got those changes in, removing draft status |
Have you tried to also fix this? |
|
Animations are fixed in the latest commit |
Exactly which animation are we talking about here? Do you mean the ripple effect that is displayed over the whole list item? If yes, then that is okay. It is rather misleading to show a ripple over the whole list when only the icon is being clicked. The icon now serves as a distinct button so I think you can safely drop commit 4b3101a. A circular ripple effect over the icon itself would be nice but it's really not important. |
|
I went ahead and switched to a ripple animation on the icon itself. That was the only animation missing AFAIK |
About that, found two issues:
|
|
Good catch, fixed now |
|
Looks good now, thanks! |
What is it?
Description of the changes in your PR
Fixes the following issue(s)
Acknowledgement