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

Swipe gesture Initially not working in savedFilesFragment #22

Open
riteshknayak opened this issue Jul 11, 2023 · 12 comments
Open

Swipe gesture Initially not working in savedFilesFragment #22

riteshknayak opened this issue Jul 11, 2023 · 12 comments

Comments

@riteshknayak
Copy link

riteshknayak commented Jul 11, 2023

When the app is the first opened. If recyclerview in savedFilesFragment is Empty than swipe gesture doesn't work.

@riteshknayak
Copy link
Author

I tried recreating the same fragment and transfered code little bit at a time. I found that recyclerView.setLayoutManager(new GridLayoutManager(getActivity(), Common.GRID_COUNT)); adding this line causes the Issue. Can anyone explain how this causing the issue.

@GauthamAsir
Copy link
Owner

When the app is the first opened. If recyclerview in savedFilesFragment is Empty than swipe gesture doesn't work.

Can you explain me the steps to re create, according to your previous message im unable to re create.

@riteshknayak
Copy link
Author

By recreating, I mean, I created a fragment named TestFragment than changed portion of MainActivity and PageAdapter to include this Fragment as a new tab.

At first I added the SwipeRefreshLayout as expected it was working. Than I commented SavedFilesFragment.java and fragment_saved_files.xml . I didn't recreated the RecyclerView Adapter. Now just as I added these two lines recyclerView.setHasFixedSize(true); recyclerView.setLayoutManager(new GridLayoutManager(getActivity(), Common.GRID_COUNT));
The swipe gesture didn't worked

@GauthamAsir
Copy link
Owner

Current app version has issue or the app you trying to create has issue? Because At my end it works properly

@riteshknayak
Copy link
Author

When the app is the first opened. If recyclerview in savedFilesFragment is Empty than swipe gesture doesn't work.

Can you explain me the steps to re create, according to your previous message im unable to re create.

Link of screen recording

@riteshknayak
Copy link
Author

riteshknayak commented Jul 11, 2023

Current one has this issue

Current app version has issue or the app you trying to create has issue? Because At my end it works properly

@GauthamAsir
Copy link
Owner

Okay can you do pull request if you found the solution will merge it

@riteshknayak
Copy link
Author

Haven't found the solution yet.

@GauthamAsir
Copy link
Owner

Okay will look into it

@riteshknayak
Copy link
Author

Did you got the Issue in your app

Current app version has issue or the app you trying to create has issue? Because At my end it works properly

When the app is the first opened. If recyclerview in savedFilesFragment is Empty than swipe gesture doesn't work.

Can you explain me the steps to re create, according to your previous message im unable to re create.

Link of screen recording

@GauthamAsir
Copy link
Owner

Yes, facing the issue but it isn't any major issue, so i didn't work on it. Will check it anyways

@riteshknayak
Copy link
Author

Sorry Closed by mistake

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

No branches or pull requests

2 participants