Skip to content
Permalink
Browse files

migrate to android x

converted all java to kotlin
added new file filters
added custom filters
  • Loading branch information...
FirzenYogesh committed Aug 17, 2019
1 parent 4534911 commit ce0fec2ed54a8605a821c9c13604760d4f2c976f
Showing with 750 additions and 729 deletions.
  1. BIN .DS_Store
  2. BIN FilesLister/.DS_Store
  3. +10 −12 FilesLister/build.gradle
  4. +5 −5 FilesLister/deploy.gradle
  5. BIN FilesLister/src/.DS_Store
  6. BIN FilesLister/src/main/.DS_Store
  7. +1 −0 FilesLister/src/main/AndroidManifest.xml
  8. BIN FilesLister/src/main/java/.DS_Store
  9. BIN FilesLister/src/main/java/yogesh/.DS_Store
  10. BIN FilesLister/src/main/java/yogesh/firzen/.DS_Store
  11. +0 −313 FilesLister/src/main/java/yogesh/firzen/filelister/FileListAdapter.java
  12. +247 −0 FilesLister/src/main/java/yogesh/firzen/filelister/FileListerAdapter.kt
  13. +0 −181 FilesLister/src/main/java/yogesh/firzen/filelister/FileListerDialog.java
  14. +185 −0 FilesLister/src/main/java/yogesh/firzen/filelister/FileListerDialog.kt
  15. +0 −84 FilesLister/src/main/java/yogesh/firzen/filelister/FilesListerView.java
  16. +64 −0 FilesLister/src/main/java/yogesh/firzen/filelister/FilesListerView.kt
  17. BIN FilesLister/src/main/res/drawable-hdpi/ic_audiotrack_black_48dp.png
  18. BIN FilesLister/src/main/res/drawable-hdpi/ic_create_new_folder_black_48dp.png
  19. BIN FilesLister/src/main/res/drawable-hdpi/ic_folder_black_48dp.png
  20. BIN FilesLister/src/main/res/drawable-hdpi/ic_insert_drive_file_black_48dp.png
  21. BIN FilesLister/src/main/res/drawable-hdpi/ic_photo_black_48dp.png
  22. BIN FilesLister/src/main/res/drawable-hdpi/ic_subdirectory_arrow_left_black_48dp.png
  23. BIN FilesLister/src/main/res/drawable-hdpi/ic_videocam_black_48dp.png
  24. BIN FilesLister/src/main/res/drawable-mdpi/ic_audiotrack_black_48dp.png
  25. BIN FilesLister/src/main/res/drawable-mdpi/ic_create_new_folder_black_48dp.png
  26. BIN FilesLister/src/main/res/drawable-mdpi/ic_folder_black_48dp.png
  27. BIN FilesLister/src/main/res/drawable-mdpi/ic_insert_drive_file_black_48dp.png
  28. BIN FilesLister/src/main/res/drawable-mdpi/ic_photo_black_48dp.png
  29. BIN FilesLister/src/main/res/drawable-mdpi/ic_subdirectory_arrow_left_black_48dp.png
  30. BIN FilesLister/src/main/res/drawable-mdpi/ic_videocam_black_48dp.png
  31. BIN FilesLister/src/main/res/drawable-xhdpi/ic_audiotrack_black_48dp.png
  32. BIN FilesLister/src/main/res/drawable-xhdpi/ic_create_new_folder_black_48dp.png
  33. BIN FilesLister/src/main/res/drawable-xhdpi/ic_folder_black_48dp.png
  34. BIN FilesLister/src/main/res/drawable-xhdpi/ic_insert_drive_file_black_48dp.png
  35. BIN FilesLister/src/main/res/drawable-xhdpi/ic_photo_black_48dp.png
  36. BIN FilesLister/src/main/res/drawable-xhdpi/ic_subdirectory_arrow_left_black_48dp.png
  37. BIN FilesLister/src/main/res/drawable-xhdpi/ic_videocam_black_48dp.png
  38. BIN FilesLister/src/main/res/drawable-xxhdpi/ic_audiotrack_black_48dp.png
  39. BIN FilesLister/src/main/res/drawable-xxhdpi/ic_create_new_folder_black_48dp.png
  40. BIN FilesLister/src/main/res/drawable-xxhdpi/ic_folder_black_48dp.png
  41. BIN FilesLister/src/main/res/drawable-xxhdpi/ic_insert_drive_file_black_48dp.png
  42. BIN FilesLister/src/main/res/drawable-xxhdpi/ic_photo_black_48dp.png
  43. BIN FilesLister/src/main/res/drawable-xxhdpi/ic_subdirectory_arrow_left_black_48dp.png
  44. BIN FilesLister/src/main/res/drawable-xxhdpi/ic_videocam_black_48dp.png
  45. BIN FilesLister/src/main/res/drawable-xxxhdpi/ic_audiotrack_black_48dp.png
  46. BIN FilesLister/src/main/res/drawable-xxxhdpi/ic_create_new_folder_black_48dp.png
  47. BIN FilesLister/src/main/res/drawable-xxxhdpi/ic_folder_black_48dp.png
  48. BIN FilesLister/src/main/res/drawable-xxxhdpi/ic_insert_drive_file_black_48dp.png
  49. BIN FilesLister/src/main/res/drawable-xxxhdpi/ic_photo_black_48dp.png
  50. BIN FilesLister/src/main/res/drawable-xxxhdpi/ic_subdirectory_arrow_left_black_48dp.png
  51. BIN FilesLister/src/main/res/drawable-xxxhdpi/ic_videocam_black_48dp.png
  52. +9 −0 FilesLister/src/main/res/drawable/ic_android_black.xml
  53. +9 −0 FilesLister/src/main/res/drawable/ic_archive_black.xml
  54. +9 −0 FilesLister/src/main/res/drawable/ic_audiotrack_black.xml
  55. +9 −0 FilesLister/src/main/res/drawable/ic_create_new_folder_black.xml
  56. +9 −0 FilesLister/src/main/res/drawable/ic_document_black.xml
  57. +9 −0 FilesLister/src/main/res/drawable/ic_folder_black.xml
  58. +9 −0 FilesLister/src/main/res/drawable/ic_insert_drive_file_black.xml
  59. +9 −0 FilesLister/src/main/res/drawable/ic_photo_black.xml
  60. +9 −0 FilesLister/src/main/res/drawable/ic_subdirectory_arrow_left_black.xml
  61. +1 −1 FilesLister/src/main/res/drawable/{ic_subdirectory_up_black_48dp.xml → ic_subdirectory_up_black.xml}
  62. +9 −0 FilesLister/src/main/res/drawable/ic_videocam_black.xml
  63. +3 −3 FilesLister/src/main/res/layout/dialog_create_folder.xml
  64. +3 −3 FilesLister/src/main/res/layout/item_file_lister.xml
  65. +4 −4 README.md
  66. +2 −2 build.gradle
  67. +1 −1 deploy.properties
  68. +2 −0 gradle.properties
  69. BIN gradle/wrapper/gradle-wrapper.jar
  70. +6 −0 gradle/wrapper/gradle-wrapper.properties
  71. +42 −30 gradlew
  72. +84 −90 gradlew.bat
BIN +6 KB .DS_Store
Binary file not shown.
Binary file not shown.
@@ -5,12 +5,11 @@ apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'

android {
compileSdkVersion 27
buildToolsVersion "27.0.3"
compileSdkVersion 29
buildToolsVersion "29.0.2"
defaultConfig {
// applicationId "yogesh.firzen.filelister"
minSdkVersion 14
targetSdkVersion 27
targetSdkVersion 29
versionCode 1
versionName "1.0"
}
@@ -20,24 +19,23 @@ android {
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
lintOptions{
lintOptions {
abortOnError false
}
}


dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version"
implementation 'com.android.support:appcompat-v7:27.0.2'
implementation 'com.android.support:design:27.0.2'
implementation 'com.android.support:recyclerview-v7:27.0.2'
implementation 'com.android.support:support-annotations:27.0.2'
implementation 'yogesh.firzen:MukkiyaSevaigal:1.0.6'
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
implementation 'androidx.appcompat:appcompat:1.0.2'
implementation 'com.google.android.material:material:1.0.0'
implementation 'androidx.recyclerview:recyclerview:1.0.0'
implementation 'androidx.annotation:annotation:1.1.0'
implementation 'yogesh.firzen:MukkiyaSevaigal:3.0.4'
}



allprojects {
repositories {
jcenter()
@@ -2,7 +2,7 @@ apply plugin: 'com.github.dcendents.android-maven'
apply plugin: 'com.jfrog.bintray'

def artifact = new Properties()
artifact.load(new FileInputStream("deploy.properties"))
artifact.load(new FileInputStream("${rootDir}${File.separator}deploy.properties"))

version=artifact.version
group=artifact.groupId
@@ -39,7 +39,7 @@ install {
}

Properties properties = new Properties()
File propFile = "${System.properties['user.home']}${File.separator}.gradle${File.separator}bintray.properties" as File
File propFile = "${System.properties['user.home']}${File.separator}development${File.separator}bintray${File.separator}FileLister.properties" as File
properties.load(propFile.newDataInputStream())

bintray {
@@ -65,7 +65,7 @@ task sourcesJar(type: Jar) {
classifier = 'sources'
}

task javadoc(type: Javadoc) {
/*task javadoc(type: Javadoc) {
source = android.sourceSets.main.java.srcDirs
classpath += project.files(android.getBootClasspath().join(File.pathSeparator))
}
@@ -74,9 +74,9 @@ task javadocJar(type: Jar, dependsOn: javadoc) {
classifier = 'javadoc'
from javadoc.destinationDir
// options.encoding = 'UTF-8'
}
}*/

artifacts {
archives javadocJar
//archives javadocJar
archives sourcesJar
}
Binary file not shown.
Binary file not shown.
@@ -2,5 +2,6 @@
package="yogesh.firzen.filelister">

<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />

</manifest>
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit ce0fec2

Please sign in to comment.
You can’t perform that action at this time.