An inner class is written in android to select an instance of the image type specified in the folder
- 2020-05-17 06:21:30
- OfStack
/** This class is used to select yes in folders .jpg Type of picture */
private class JpgFileFilter implements FilenameFilter{
@Override
public boolean accept(File dir, String filename) {
// TODO Auto-generated method stub
return filename.endsWith(".jpg");
}
}