apps-android-commons/app/src/main/java/fr/free/nrw/commons/contributions
Rohit Verma 718c466505
Bump target sdk to API 35 and make the app UI compatible with edge to edge (#6393)
* chore: upgrade target SDK and refactor function signatures to resolve build issues

* chore: bump android gradle plugin version

* chore(ui): add extension functions for applying edge to edge insets

* fix: apply system bar top and bottom insets for edge to edge

* fix: force edge to edge for backward compatibility and consistent UI

* fix: apply top bar insets as padding and make the status bar color white

Since the toolbars have primary color as bg, we should make the status bar white

* chore: bump robolectric version for API 35 compatibility

* fix: preserve existing margins when adding new insets

* feat(customselector): improve RecyclerView edge-to-edge inset handling

It allows the last item to sits above the navigation bar while preserving edge-to-edge appearance.

* feat(notification): improve RecyclerView edge-to-edge insets handling

Also, refactor LocationPicker and DescriptionEdit activities to use extension functions and reduce duplication

* fix(quiz): enable and handle edge-to-edge insets and status icon colors

* fix: bottom insets not dispatched on all API versions consistently

Upgraded core-ktx version installCompatInsetsDispatch wasn't available on current version

* fix: return fallback value when versionName is null

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* fix: resolve compilation errors

* docs: add KDoc for edge-to-edge insets utility functions

* fix(SearchActivity): apply insets for system bars

* fix(util): add utility function to handle keyboard insets with animation

* fix(upload): handle keyboard insets for upload media detail card view

* fix(login): hadle IME insets and make edge-to-edge backward compatible

---------

Co-authored-by: Ritika Pahwa <83745993+RitikaPahwa4444@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-08-23 12:27:37 +05:30
..
ChunkInfo.kt Issue-5662-kotlinstyle (#5833) 2024-09-19 13:56:45 +09:00
Contribution.kt Fix NPE with UploadMediaDetails.captionText (#6128) 2025-01-15 22:52:35 +09:00
ContributionBoundaryCallback.kt Add pull down to refresh in Contributions screen (#6041) 2024-12-20 10:06:07 +09:00
ContributionController.kt Implement single selection logic in custom image picker (#6341) 2025-06-07 23:09:47 +09:00
ContributionDao.kt Migrated contributions folder Files from java to kotlin (#6176) 2025-02-07 10:03:38 +09:00
ContributionsContract.kt Convert top level "Utils" class to kotlin (#6364) 2025-07-04 20:18:52 +09:00
ContributionsFragment.kt Convert media package to kotlin (#6369) 2025-07-12 11:11:20 +09:00
ContributionsListAdapter.kt Improve credit line in image list (#6295) 2025-04-23 23:23:09 +09:00
ContributionsListContract.kt Convert top level "Utils" class to kotlin (#6364) 2025-07-04 20:18:52 +09:00
ContributionsListFragment.kt Convert top level "Utils" class to kotlin (#6364) 2025-07-04 20:18:52 +09:00
ContributionsListPresenter.kt Migrated contributions folder Files from java to kotlin (#6176) 2025-02-07 10:03:38 +09:00
ContributionsLocalDataSource.kt Migrated contributions folder Files from java to kotlin (#6176) 2025-02-07 10:03:38 +09:00
ContributionsModule.kt Migrated contributions folder Files from java to kotlin (#6176) 2025-02-07 10:03:38 +09:00
ContributionsPresenter.kt fix: null context issue by removing context getter override (#6218) 2025-03-08 22:02:28 +09:00
ContributionsProvidesModule.kt Migrated contributions folder Files from java to kotlin (#6176) 2025-02-07 10:03:38 +09:00
ContributionsRemoteDataSource.kt Convert dependency inject ("di") package to kotlin (#5976) 2024-11-30 10:50:42 +09:00
ContributionsRepository.kt Migrated contributions folder Files from java to kotlin (#6176) 2025-02-07 10:03:38 +09:00
ContributionViewHolder.kt Improve credit line in image list (#6295) 2025-04-23 23:23:09 +09:00
MainActivity.kt Bump target sdk to API 35 and make the app UI compatible with edge to edge (#6393) 2025-08-23 12:27:37 +05:30
SetWallpaperWorker.kt Migrated contributions folder Files from java to kotlin (#6176) 2025-02-07 10:03:38 +09:00
UnswipableViewPager.kt Migrated contributions folder Files from java to kotlin (#6176) 2025-02-07 10:03:38 +09:00
WikipediaInstructionsDialogFragment.kt Migrated contributions folder Files from java to kotlin (#6176) 2025-02-07 10:03:38 +09:00