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

Searching and Sorting Fix along with name to root folder #2928

Open
wants to merge 5 commits into
base: development
Choose a base branch
from
Open

Searching and Sorting Fix along with name to root folder #2928

wants to merge 5 commits into from

Conversation

satyajiit
Copy link

Fixed #2926

Changes: Images stored in Root directory or /sdcard now won't show or store null value as name.
As a result doing search and sorting ,
there would be no crash or termination since we are giving a name to the folder in case of that image is stored in "/sdcard".

Screenshots of the change:
Before
before
After
after

This fixed the search issue which was also causing crash on sorting since we had a null value.

@satyajiit satyajiit mentioned this pull request Nov 19, 2019
2 tasks
Clicking on Delete Icon on the Toolbar now deletes all the images.
Fixed issue when images of same name are added by changing the PrimaryKey from binPath to an auto_increment id.
Fixed an issue in which files are not deleted from ".nomedia" directory.
Also Updated some external library versions.

Fixed Image Delete Issue , TrashBin Issue and More

Clicking on Delete Icon on the Toolbar now deletes all the images.
Fixed issue when images of same name are added by changing the PrimaryKey from binPath to an auto_increment id.
Fixed an issue in which files are not deleted from ".nomedia" directory.
Also Updated some external library versions.

Update build.gradle

Origin

NullFix and Search Fix

Images stored in Root directory or /sdcard now won't show or store null value as name.
As a result on search and sorting ,
there would be no crash or termination since we are giving a name to the folder incase of that image is stored in /sdcard.

Done with gradlew SpotlessApply
Copy link

@rob729 rob729 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@satyajiit Squash these commits into a single commit

@codedsun
Copy link
Contributor

@satyajiit please do the changes

Copy link
Contributor

@codedsun codedsun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@satyajiit - Please do the changes

@iamareebjamal
Copy link
Member

@satyajiit Please resolve the conflicts

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 this pull request may close these issues.

App Crash On Search
4 participants