What is the best way to detect duplicate files in android, currently I am using files MD5# to detect duplicates, it works well but it is very slow and I don't know is it safer to user MD5# for detecting duplicates. Also it is not useful in the case of images when its resolution or format is different
Is there any better way to do this? I mean by using any library or algorithms
My case is that I was trying to build a duplicate detection app like the many in playstore as a part of my project