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

Gesture detector to swipe from skills to chat activity #2185

Closed
Bhavnaharitsa opened this issue Apr 20, 2019 · 7 comments
Closed

Gesture detector to swipe from skills to chat activity #2185

Bhavnaharitsa opened this issue Apr 20, 2019 · 7 comments

Comments

@Bhavnaharitsa
Copy link
Contributor

Describe the feature you'd like
Swipe feature is there to swipe from chat to skills but not from skills to chat. It should be vice versa

Would you like to work on the issue?
Yes

@atm1504
Copy link
Member

atm1504 commented May 10, 2019

@iamareebjamal I tried to implement this using a sample app. But I am continuously facing a problem. I am failing to override the onTouchEvent function. Though I have implemented all the other functions using inner class. Without this function, the fragment won't be able to detect the gestures and call the respective functions of the inner class. Can you please provide some help.

@iamareebjamal
Copy link
Member

Why are you failing to override it?

@atm1504
Copy link
Member

atm1504 commented May 10, 2019

@iamareebjamal I have found a different way to implement gestures in the fragment. I will implement it and make the pr.

@atm1504
Copy link
Member

atm1504 commented May 11, 2019

@iamareebjamal sir the prototype app that I made is working properly. But when I am implementing it in USI, I am not getting any response.
Code for prototype app is:
Screenshot 2019-05-11 at 7 58 55 PM

The code in SUSI:
Screenshot 2019-05-11 at 7 59 26 PM

Sir, please provide some suggestions.

@atm1504
Copy link
Member

atm1504 commented May 11, 2019

@iamareebjamal after doing few searches I found that its an issue due to the presence of scroll view in the respective fragments. Scrollview has its own set of gestures. I need to overcome this problem. I think this can be done. Please give me some time to do research on it.
Link: uptechteam/MotionViews-Android#14

@atm1504
Copy link
Member

atm1504 commented May 12, 2019

@iamareebjamal @batbrain7 @arundhati24 after searching a lot on the internet and understanding the circumstances I found out a way to handle gestures inside scrollView. But still, now I am failing to integrate it inside skillListing Fragment, where refreshLayout is being used. I hope I will find out a solution to this problem also very soon

@atm1504
Copy link
Member

atm1504 commented May 15, 2019

@iamareebjamal I think this issue is also not required now. It can be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants