Skip to content

Commit b97b3fe

Browse files
committed
Jetpack Compose Added
1 parent ba7b36f commit b97b3fe

File tree

509 files changed

+18086
-10601
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

509 files changed

+18086
-10601
lines changed
0 Bytes
Binary file not shown.

.idea/modules/app/NewPhotoPickerAndroid13.app.main.iml

-244
This file was deleted.

.idea/modules/photoPicker/NewPhotoPickerAndroid13.photoPicker.androidTest.iml

-202
This file was deleted.

app/build.gradle

+12-17
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
plugins {
22
id 'com.android.application'
33
id 'org.jetbrains.kotlin.android'
4-
id 'maven-publish'
54
}
65

76
android {
@@ -36,6 +35,8 @@ android {
3635
}
3736
buildFeatures {
3837
compose true
38+
viewBinding = true
39+
dataBinding = true
3940
}
4041
composeOptions {
4142
kotlinCompilerExtensionVersion '1.4.1'
@@ -57,6 +58,9 @@ dependencies {
5758
// Exclude the "plain java" json module to fix build warnings.
5859
exclude group: 'org.json', module: 'json'
5960
}
61+
62+
implementation 'com.github.ParthLotia:FilePicker:1.0.7'
63+
6064
implementation 'androidx.core:core-ktx:1.12.0'
6165
implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.7.0'
6266
implementation 'androidx.activity:activity-compose:1.8.2'
@@ -66,10 +70,15 @@ dependencies {
6670
implementation 'androidx.appcompat:appcompat:1.6.1'
6771
implementation 'com.google.android.material:material:1.11.0'
6872
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
73+
implementation platform('androidx.compose:compose-bom:2023.08.00')
74+
implementation 'androidx.compose.ui:ui-graphics'
75+
implementation 'androidx.compose.material3:material3'
76+
// implementation project(':photoPicker')
6977
testImplementation 'junit:junit:4.13.2'
7078
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
7179
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
7280
androidTestImplementation "androidx.compose.ui:ui-test-junit4:$compose_ui_version"
81+
androidTestImplementation platform('androidx.compose:compose-bom:2023.08.00')
7382
debugImplementation "androidx.compose.ui:ui-tooling:$compose_ui_version"
7483
debugImplementation "androidx.compose.ui:ui-test-manifest:$compose_ui_version"
7584

@@ -91,23 +100,9 @@ dependencies {
91100

92101
implementation 'com.google.code.gson:gson:2.9.0'
93102

103+
implementation "com.google.accompanist:accompanist-permissions:0.31.1-alpha"
104+
94105

95106

96107

97108
}
98-
afterEvaluate {
99-
publishing {
100-
publications {
101-
// Creates a Maven publication called "release".
102-
release(MavenPublication) {
103-
// Applies the component for the release build variant.
104-
from components.findByName('release')
105-
106-
// You can then customize attributes of the publication as shown below.
107-
groupId = 'com.plandroid.photopicker'
108-
artifactId = 'photoPicker'
109-
version = '1.0.7'
110-
}
111-
}
112-
}
113-
}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{}
1+
{"databinding-compiler-8.2.2.jar (androidx.databinding:databinding-compiler:8.2.2)":"INCREMENTAL_AP"}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1-
#Sat Mar 16 23:42:28 IST 2024
2-
com.android.parth.app-main-60\:/drawable-v24/ic_launcher_foreground.xml=E\:\\github\\PhotoPicker\\app\\build\\intermediates\\merged_res\\debug\\drawable-v24_ic_launcher_foreground.xml.flat
3-
com.android.parth.app-main-60\:/drawable/ic_launcher_background.xml=E\:\\github\\PhotoPicker\\app\\build\\intermediates\\merged_res\\debug\\drawable_ic_launcher_background.xml.flat
4-
com.android.parth.app-main-60\:/layout/activity_new_photo_picker.xml=E\:\\github\\PhotoPicker\\app\\build\\intermediates\\merged_res\\debug\\layout_activity_new_photo_picker.xml.flat
5-
com.android.parth.app-main-60\:/mipmap-anydpi-v26/ic_launcher.xml=E\:\\github\\PhotoPicker\\app\\build\\intermediates\\merged_res\\debug\\mipmap-anydpi-v26_ic_launcher.xml.flat
6-
com.android.parth.app-main-60\:/mipmap-anydpi-v26/ic_launcher_round.xml=E\:\\github\\PhotoPicker\\app\\build\\intermediates\\merged_res\\debug\\mipmap-anydpi-v26_ic_launcher_round.xml.flat
7-
com.android.parth.app-main-60\:/mipmap-anydpi-v33/ic_launcher.xml=E\:\\github\\PhotoPicker\\app\\build\\intermediates\\merged_res\\debug\\mipmap-anydpi-v33_ic_launcher.xml.flat
8-
com.android.parth.app-main-60\:/mipmap-hdpi/ic_launcher.webp=E\:\\github\\PhotoPicker\\app\\build\\intermediates\\merged_res\\debug\\mipmap-hdpi_ic_launcher.webp.flat
9-
com.android.parth.app-main-60\:/mipmap-hdpi/ic_launcher_round.webp=E\:\\github\\PhotoPicker\\app\\build\\intermediates\\merged_res\\debug\\mipmap-hdpi_ic_launcher_round.webp.flat
10-
com.android.parth.app-main-60\:/mipmap-mdpi/ic_launcher.webp=E\:\\github\\PhotoPicker\\app\\build\\intermediates\\merged_res\\debug\\mipmap-mdpi_ic_launcher.webp.flat
11-
com.android.parth.app-main-60\:/mipmap-mdpi/ic_launcher_round.webp=E\:\\github\\PhotoPicker\\app\\build\\intermediates\\merged_res\\debug\\mipmap-mdpi_ic_launcher_round.webp.flat
12-
com.android.parth.app-main-60\:/mipmap-xhdpi/ic_launcher.webp=E\:\\github\\PhotoPicker\\app\\build\\intermediates\\merged_res\\debug\\mipmap-xhdpi_ic_launcher.webp.flat
13-
com.android.parth.app-main-60\:/mipmap-xhdpi/ic_launcher_round.webp=E\:\\github\\PhotoPicker\\app\\build\\intermediates\\merged_res\\debug\\mipmap-xhdpi_ic_launcher_round.webp.flat
14-
com.android.parth.app-main-60\:/mipmap-xxhdpi/ic_launcher.webp=E\:\\github\\PhotoPicker\\app\\build\\intermediates\\merged_res\\debug\\mipmap-xxhdpi_ic_launcher.webp.flat
15-
com.android.parth.app-main-60\:/mipmap-xxhdpi/ic_launcher_round.webp=E\:\\github\\PhotoPicker\\app\\build\\intermediates\\merged_res\\debug\\mipmap-xxhdpi_ic_launcher_round.webp.flat
16-
com.android.parth.app-main-60\:/mipmap-xxxhdpi/ic_launcher.webp=E\:\\github\\PhotoPicker\\app\\build\\intermediates\\merged_res\\debug\\mipmap-xxxhdpi_ic_launcher.webp.flat
17-
com.android.parth.app-main-60\:/mipmap-xxxhdpi/ic_launcher_round.webp=E\:\\github\\PhotoPicker\\app\\build\\intermediates\\merged_res\\debug\\mipmap-xxxhdpi_ic_launcher_round.webp.flat
18-
com.android.parth.app-main-60\:/xml/backup_rules.xml=E\:\\github\\PhotoPicker\\app\\build\\intermediates\\merged_res\\debug\\xml_backup_rules.xml.flat
19-
com.android.parth.app-main-60\:/xml/data_extraction_rules.xml=E\:\\github\\PhotoPicker\\app\\build\\intermediates\\merged_res\\debug\\xml_data_extraction_rules.xml.flat
20-
com.android.parth.app-main-60\:/xml/provider_paths.xml=E\:\\github\\PhotoPicker\\app\\build\\intermediates\\merged_res\\debug\\xml_provider_paths.xml.flat
1+
#Sat Apr 06 11:15:46 IST 2024
2+
com.android.parth.app-main-64\:/drawable-v24/ic_launcher_foreground.xml=E\:\\github\\FilePicker-master\\app\\build\\intermediates\\merged_res\\debug\\drawable-v24_ic_launcher_foreground.xml.flat
3+
com.android.parth.app-main-64\:/drawable/ic_launcher_background.xml=E\:\\github\\FilePicker-master\\app\\build\\intermediates\\merged_res\\debug\\drawable_ic_launcher_background.xml.flat
4+
com.android.parth.app-main-64\:/mipmap-anydpi-v26/ic_launcher.xml=E\:\\github\\FilePicker-master\\app\\build\\intermediates\\merged_res\\debug\\mipmap-anydpi-v26_ic_launcher.xml.flat
5+
com.android.parth.app-main-64\:/mipmap-anydpi-v26/ic_launcher_round.xml=E\:\\github\\FilePicker-master\\app\\build\\intermediates\\merged_res\\debug\\mipmap-anydpi-v26_ic_launcher_round.xml.flat
6+
com.android.parth.app-main-64\:/mipmap-anydpi-v33/ic_launcher.xml=E\:\\github\\FilePicker-master\\app\\build\\intermediates\\merged_res\\debug\\mipmap-anydpi-v33_ic_launcher.xml.flat
7+
com.android.parth.app-main-64\:/mipmap-hdpi/ic_launcher.webp=E\:\\github\\FilePicker-master\\app\\build\\intermediates\\merged_res\\debug\\mipmap-hdpi_ic_launcher.webp.flat
8+
com.android.parth.app-main-64\:/mipmap-hdpi/ic_launcher_round.webp=E\:\\github\\FilePicker-master\\app\\build\\intermediates\\merged_res\\debug\\mipmap-hdpi_ic_launcher_round.webp.flat
9+
com.android.parth.app-main-64\:/mipmap-mdpi/ic_launcher.webp=E\:\\github\\FilePicker-master\\app\\build\\intermediates\\merged_res\\debug\\mipmap-mdpi_ic_launcher.webp.flat
10+
com.android.parth.app-main-64\:/mipmap-mdpi/ic_launcher_round.webp=E\:\\github\\FilePicker-master\\app\\build\\intermediates\\merged_res\\debug\\mipmap-mdpi_ic_launcher_round.webp.flat
11+
com.android.parth.app-main-64\:/mipmap-xhdpi/ic_launcher.webp=E\:\\github\\FilePicker-master\\app\\build\\intermediates\\merged_res\\debug\\mipmap-xhdpi_ic_launcher.webp.flat
12+
com.android.parth.app-main-64\:/mipmap-xhdpi/ic_launcher_round.webp=E\:\\github\\FilePicker-master\\app\\build\\intermediates\\merged_res\\debug\\mipmap-xhdpi_ic_launcher_round.webp.flat
13+
com.android.parth.app-main-64\:/mipmap-xxhdpi/ic_launcher.webp=E\:\\github\\FilePicker-master\\app\\build\\intermediates\\merged_res\\debug\\mipmap-xxhdpi_ic_launcher.webp.flat
14+
com.android.parth.app-main-64\:/mipmap-xxhdpi/ic_launcher_round.webp=E\:\\github\\FilePicker-master\\app\\build\\intermediates\\merged_res\\debug\\mipmap-xxhdpi_ic_launcher_round.webp.flat
15+
com.android.parth.app-main-64\:/mipmap-xxxhdpi/ic_launcher.webp=E\:\\github\\FilePicker-master\\app\\build\\intermediates\\merged_res\\debug\\mipmap-xxxhdpi_ic_launcher.webp.flat
16+
com.android.parth.app-main-64\:/mipmap-xxxhdpi/ic_launcher_round.webp=E\:\\github\\FilePicker-master\\app\\build\\intermediates\\merged_res\\debug\\mipmap-xxxhdpi_ic_launcher_round.webp.flat
17+
com.android.parth.app-main-64\:/xml/backup_rules.xml=E\:\\github\\FilePicker-master\\app\\build\\intermediates\\merged_res\\debug\\xml_backup_rules.xml.flat
18+
com.android.parth.app-main-64\:/xml/data_extraction_rules.xml=E\:\\github\\FilePicker-master\\app\\build\\intermediates\\merged_res\\debug\\xml_data_extraction_rules.xml.flat
19+
com.android.parth.app-main-64\:/xml/provider_paths.xml=E\:\\github\\FilePicker-master\\app\\build\\intermediates\\merged_res\\debug\\xml_provider_paths.xml.flat
20+
com.android.parth.app-mergeDebugResources-61\:/layout/activity_new_photo_picker.xml=E\:\\github\\FilePicker-master\\app\\build\\intermediates\\merged_res\\debug\\layout_activity_new_photo_picker.xml.flat

app/build/intermediates/incremental/debug/mergeDebugResources/merged.dir/values-af/values-af.xml

+55
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@
3131
<string msgid="8875138169939072951" name="abc_shareactionprovider_share_with">"Deel met"</string>
3232
<string msgid="9055268688411532828" name="abc_shareactionprovider_share_with_application">"Deel met <ns1:g id="APPLICATION_NAME">%s</ns1:g>"</string>
3333
<string msgid="1656852541809559762" name="abc_toolbar_collapse_description">"Vou in"</string>
34+
<string msgid="6128938260108474660" name="bottom_sheet_collapse_description">"Vou onderste blad in"</string>
35+
<string msgid="1918297411568599192" name="bottom_sheet_dismiss_description">"Maak onderste blad toe"</string>
36+
<string msgid="7772321844937772780" name="bottom_sheet_drag_handle_description">"Sleephandvatsel"</string>
37+
<string msgid="4324434199045499117" name="bottom_sheet_expand_description">"Vou onderste blad uit"</string>
3438
<string name="bottomsheet_action_collapse">Vou die onderste blad in</string>
3539
<string name="bottomsheet_action_expand">Vou die onderste blad uit</string>
3640
<string name="bottomsheet_action_expand_halfway">Vou halfpad uit</string>
@@ -48,10 +52,44 @@
4852
<string name="clear_text_end_icon_content_description">Vee teks uit</string>
4953
<string msgid="406453423630273620" name="close_drawer">"Maak navigasiekieslys toe"</string>
5054
<string msgid="7573152094250666567" name="close_sheet">"Maak sigblad toe"</string>
55+
<string msgid="5389587048670450460" name="collapsed">"Ingevou"</string>
56+
<string msgid="3499643850558715142" name="date_input_headline">"Datum wat ingevoer is"</string>
57+
<string msgid="8562356184193964298" name="date_input_headline_description">"Datum wat ingevoer is: %1$s"</string>
58+
<string msgid="5281836720766682161" name="date_input_invalid_for_pattern">"Datum pas nie by die verwagte patroon nie: %1$s"</string>
59+
<string msgid="6114792992433444995" name="date_input_invalid_not_allowed">"Datum word nie toegelaat nie: %1$s"</string>
60+
<string msgid="8434112129235255568" name="date_input_invalid_year_range">"Datum val buite die omvang van die verwagte jaartal %1$s-%2$s"</string>
61+
<string msgid="5194825853981987218" name="date_input_label">"Datum"</string>
62+
<string msgid="5722931102250207748" name="date_input_no_input_description">"Geen"</string>
63+
<string msgid="3010396677286327048" name="date_input_title">"Kies datum"</string>
64+
<string msgid="2846784065735639969" name="date_picker_headline">"Geselekteerde datum"</string>
65+
<string msgid="4627306862713137085" name="date_picker_headline_description">"Huidige keuse: %1$s"</string>
66+
<string msgid="5152441868029453612" name="date_picker_navigate_to_year_description">"Gaan na jaar %1$s"</string>
67+
<string msgid="5724377114289981899" name="date_picker_no_selection_description">"Geen"</string>
68+
<string msgid="8911933542023210271" name="date_picker_scroll_to_earlier_years">"Rollees om vroeër jare te wys"</string>
69+
<string msgid="3226341140390493774" name="date_picker_scroll_to_later_years">"Rollees om later jare te wys"</string>
70+
<string msgid="9029369254443419167" name="date_picker_switch_to_calendar_mode">"Skakel oor na kalenderinvoermodus"</string>
71+
<string msgid="145089358343568971" name="date_picker_switch_to_day_selection">"Swiep om ’n jaar te kies of tik om terug te skakel om ’n dag te kies"</string>
72+
<string msgid="1496750567914156598" name="date_picker_switch_to_input_mode">"Skakel oor na teksinvoermodus"</string>
73+
<string msgid="8313783187901412102" name="date_picker_switch_to_next_month">"Verander na volgende maand"</string>
74+
<string msgid="7596294429748914881" name="date_picker_switch_to_previous_month">"Verander na vorige maand"</string>
75+
<string msgid="3412370019845183965" name="date_picker_switch_to_year_selection">"Skakel oor na kies van ’n jaar"</string>
76+
<string msgid="9208721003668059792" name="date_picker_title">"Kies datum"</string>
77+
<string msgid="4775802721403526937" name="date_picker_today_description">"Vandag"</string>
78+
<string msgid="8140324713311804736" name="date_picker_year_picker_pane_title">"Jaarkieser sigbaar"</string>
79+
<string msgid="1891592555781755601" name="date_range_input_invalid_range_input">"Ongeldige datumreeksinvoer"</string>
80+
<string msgid="2366412111888449406" name="date_range_input_title">"Voer datums in"</string>
81+
<string msgid="9048690781645835833" name="date_range_picker_day_in_range">"Binne reikwydte"</string>
82+
<string msgid="4766270708882012148" name="date_range_picker_end_headline">"Einddatum"</string>
83+
<string msgid="51495506931835470" name="date_range_picker_scroll_to_next_month">"Rollees om die volgende maand te wys"</string>
84+
<string msgid="4371570854614540700" name="date_range_picker_scroll_to_previous_month">"Rollees om die vorige maand te wys"</string>
85+
<string msgid="5759491386723090559" name="date_range_picker_start_headline">"Begindatum"</string>
86+
<string msgid="690080476639943577" name="date_range_picker_title">"Kies datums"</string>
5187
<string msgid="8038256446254964252" name="default_error_message">"Ongeldige invoer"</string>
5288
<string msgid="6312721426453364202" name="default_popup_window_title">"Opspringvenster"</string>
89+
<string msgid="4057925834421392736" name="dialog">"Dialoog"</string>
5390
<string msgid="1890207353314751437" name="dropdown_menu">"Aftrekkieslys"</string>
5491
<string name="error_icon_content_description">Fout</string>
92+
<string msgid="5974471714631304645" name="expanded">"Uitgevou"</string>
5593
<string name="exposed_dropdown_menu_content_description">Wys aftrekkieslys</string>
5694
<string name="icon_content_description">Dialoogikoon</string>
5795
<string msgid="6827826412747255547" name="in_progress">"Besig"</string>
@@ -119,12 +157,29 @@
119157
<string name="password_toggle_content_description">Wys wagwoord</string>
120158
<string msgid="5941395253238309765" name="range_end">"Eindgrens"</string>
121159
<string msgid="7097486360902471446" name="range_start">"Begingrens"</string>
160+
<string msgid="6420018528474762666" name="search_bar_search">"Soek"</string>
122161
<string msgid="6264217191555673260" name="search_menu_title">"Soek"</string>
123162
<string msgid="6043586758067023" name="selected">"Gekies"</string>
163+
<string msgid="3962933905051144957" name="snackbar_dismiss">"Maak toe"</string>
124164
<string msgid="6277540029070332960" name="status_bar_notification_info_overflow">"999+"</string>
165+
<string msgid="7189888345201419934" name="suggestions_available">"Voorstelle hieronder"</string>
125166
<string msgid="2561197295334830845" name="switch_role">"Skakel oor"</string>
126167
<string msgid="1672349317127674378" name="tab">"Oortjie"</string>
127168
<string msgid="5946805113151406391" name="template_percent">"<ns1:g id="PERCENTAGE">%1$d</ns1:g> persent."</string>
169+
<string msgid="5096144640014509074" name="time_picker_am">"vm."</string>
170+
<string msgid="7241191970823415723" name="time_picker_hour">"Uur"</string>
171+
<string msgid="4149641012513526783" name="time_picker_hour_24h_suffix">"%1$d uur"</string>
172+
<string msgid="6081676287789101196" name="time_picker_hour_selection">"Kies uur"</string>
173+
<string msgid="6952032626122080528" name="time_picker_hour_suffix">"%1$d uur"</string>
174+
<string msgid="5298761125390275834" name="time_picker_hour_text_field">"vir uur"</string>
175+
<string msgid="6116528647594005945" name="time_picker_minute">"Minuut"</string>
176+
<string msgid="8494777394375441602" name="time_picker_minute_selection">"Kies minute"</string>
177+
<string msgid="3206486707779478173" name="time_picker_minute_suffix">"%1$d minute"</string>
178+
<string msgid="994099543833979061" name="time_picker_minute_text_field">"vir minute"</string>
179+
<string msgid="7352665290700284516" name="time_picker_period_toggle_description">"Kies vm. of nm."</string>
180+
<string msgid="2232702812657998674" name="time_picker_pm">"nm."</string>
128181
<string msgid="3765533235322692011" name="tooltip_description">"nutswenk"</string>
129182
<string msgid="3124740595719787496" name="tooltip_label">"wys nutswenk"</string>
183+
<string msgid="2732804537909054941" name="tooltip_long_press_label">"Wys nutswenk"</string>
184+
<string msgid="8191239805703103845" name="tooltip_pane_description">"Nutswenk"</string>
130185
</resources>

0 commit comments

Comments
 (0)