Skip to content

Commit

Permalink
Fix ExiFragment viewbinding
Browse files Browse the repository at this point in the history
  • Loading branch information
w2sv committed Feb 10, 2023
1 parent f42a9b3 commit 041d505
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ build-apk:
@./gradlew assembleRelease --console verbose

build-aab:
@./gradlew :app:bundleRelease --console-verbose
@./gradlew :app:bundleRelease --console verbose

publish-release-gh:
@gh release create $(version) --generate-notes app/build/outputs/apk/release/$(version).apk
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ import com.w2sv.androidutils.ui.SimpleAnimationListener
import com.w2sv.autocrop.activities.AppFragment
import com.w2sv.autocrop.activities.examination.ExaminationActivity
import com.w2sv.autocrop.ui.views.animationComposer
import com.w2sv.common.databinding.DeleteRequestBinding
import com.w2sv.autocrop.databinding.ExitBinding
import kotlinx.coroutines.launch

class ExitFragment :
AppFragment<DeleteRequestBinding>(DeleteRequestBinding::class.java) {
AppFragment<ExitBinding>(ExitBinding::class.java) {

private val activityViewModel by activityViewModels<ExaminationActivity.ViewModel>()

Expand Down Expand Up @@ -80,7 +80,7 @@ class ExitFragment :

private fun exitAsSoonAsIOProcessingFinished() {
lifecycleScope.launch {
binding.appLogoIv.animationComposer(
binding.deleteRequestLayout.appLogoIv.animationComposer(
listOf(
Techniques.Wobble,
Techniques.Wave,
Expand Down
10 changes: 10 additions & 0 deletions app/src/main/res/layout/exit.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent">

<include
android:id="@+id/delete_request_layout"
layout="@layout/delete_request" />

</RelativeLayout>
1 change: 1 addition & 0 deletions modulebase.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ android {
buildTypes {
release {
minifyEnabled false
shrinkResources false
}
}
compileOptions {
Expand Down

0 comments on commit 041d505

Please sign in to comment.