Skip to content

Conversation

Rajan-p-simform
Copy link

This pull request introduces several changes to modernize the codebase, improve compatibility, and enhance maintainability. Key updates include upgrading SDK versions, transitioning from synthetic view binding to Android View Binding.

Build Configuration Updates:

View Binding Migration:

  • BaseActivity.kt: Removed setContentView logic from the base class to allow individual activities to set views using View Binding.
  • Migrated synthetic view binding to View Binding in multiple activity files (MainActivity.kt, OtherFFMPEGProcessActivity.kt, VideoProcessActivity.kt, AudiosMergeActivity.kt).

@Rajan-p-simform Rajan-p-simform requested a review from Copilot July 1, 2025 14:30
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR modernizes the build setup and replaces Kotlin synthetic view binding with Android View Binding across the app.

  • Upgrades Gradle wrapper to 8.5, compileSdk/targetSdk to 35, and applies viewBinding in Gradle configs
  • Eliminates kotlin-android-extensions and migrates all activities to use binding references
  • Adds custom time‐picker layouts and Java classes for second‐precision pickers

Reviewed Changes

Copilot reviewed 38 out of 39 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
gradle/wrapper/gradle-wrapper.properties Bump Gradle distribution to 8.5
gradle.properties Suppress unsupported compileSdk 35 warning
app/build.gradle Remove synthetic plugin, enable viewBinding
SSffmpegVideoOperation/build.gradle Sync compileSdk/targetSdk to 35, add flatDir repo
app/src/main/res/values/strings.xml Add time‐picker string resources
app/src/main/res/layout/*.xml Introduce time picker widget & dialog layouts
**/*Activity.kt Remove synthetic imports, add binding setup
BaseActivity.kt Defer setContentView to child activities
Comments suppressed due to low confidence (1)

app/src/main/res/values/strings.xml:114

  • XML comments must use rather than //, or remove this line, as // will break resource compilation.
    // Time Picker

@Rajan-p-simform Rajan-p-simform force-pushed the feature/replace-kotlin-android-extensions-with-viewbinding branch 2 times, most recently from de15d6c to 1d10c67 Compare July 1, 2025 14:53
@Rajan-p-simform Rajan-p-simform force-pushed the feature/replace-kotlin-android-extensions-with-viewbinding branch 2 times, most recently from 409089d to 208f8fe Compare July 9, 2025 13:45
@Rajan-p-simform Rajan-p-simform force-pushed the feature/replace-kotlin-android-extensions-with-viewbinding branch from 208f8fe to 6677828 Compare July 9, 2025 14:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants