-
- Downloads
refactor: QrCodeFragment
This commit adds the ability to customize QrCodeFragment with a mode parameter: MODE_SCAN: Scan a peer QR code and navigate to the conversation. MODE_SHARE: Share a contact's QR code. Both `MODE_SCAN` and `MODE_SHARE` can be used simultaneously. ShareFragment has also been reworked. Previously, it could only share the current account; now, it accepts a more general contact parameter. Additionally, all ViewModel components involved in this rework have been replaced with Presenter implementations for a more streamlined architecture. Change-Id: Ifa7a9fc4423bd8be5c8ce5e22d25560816cb44e0
Showing
- jami-android/app/src/main/java/cx/ring/account/JamiAccountSummaryFragment.kt 6 additions, 2 deletions...c/main/java/cx/ring/account/JamiAccountSummaryFragment.kt
- jami-android/app/src/main/java/cx/ring/fragments/HomeFragment.kt 9 additions, 3 deletions...droid/app/src/main/java/cx/ring/fragments/HomeFragment.kt
- jami-android/app/src/main/java/cx/ring/fragments/QRCodeFragment.kt 62 additions, 21 deletions...oid/app/src/main/java/cx/ring/fragments/QRCodeFragment.kt
- jami-android/app/src/main/java/cx/ring/share/ScanFragment.kt 76 additions, 72 deletionsjami-android/app/src/main/java/cx/ring/share/ScanFragment.kt
- jami-android/app/src/main/java/cx/ring/share/ShareFragment.kt 75 additions, 41 deletions...-android/app/src/main/java/cx/ring/share/ShareFragment.kt
- jami-android/app/src/main/java/cx/ring/tv/account/TVShareActivity.kt 15 additions, 0 deletions...d/app/src/main/java/cx/ring/tv/account/TVShareActivity.kt
- jami-android/app/src/main/java/cx/ring/tv/account/TVShareFragment.kt 72 additions, 42 deletions...d/app/src/main/java/cx/ring/tv/account/TVShareFragment.kt
- jami-android/app/src/main/res/layout/frag_qrcode.xml 7 additions, 7 deletionsjami-android/app/src/main/res/layout/frag_qrcode.xml
- jami-android/app/src/main/res/layout/frag_share.xml 2 additions, 1 deletionjami-android/app/src/main/res/layout/frag_share.xml
- jami-android/app/src/main/res/layout/tv_activity_share.xml 1 addition, 1 deletionjami-android/app/src/main/res/layout/tv_activity_share.xml
- jami-android/app/src/main/res/values/strings.xml 1 addition, 0 deletionsjami-android/app/src/main/res/values/strings.xml
- jami-android/app/src/main/res/values/strings_content_description.xml 1 addition, 0 deletions...d/app/src/main/res/values/strings_content_description.xml
- jami-android/libjamiclient/build.gradle.kts 1 addition, 0 deletionsjami-android/libjamiclient/build.gradle.kts
- jami-android/libjamiclient/src/main/kotlin/net/jami/qrcode/QRCodePresenter.kt 15 additions, 10 deletions...client/src/main/kotlin/net/jami/qrcode/QRCodePresenter.kt
- jami-android/libjamiclient/src/main/kotlin/net/jami/scan/ScanPresenter.kt 14 additions, 7 deletions...jamiclient/src/main/kotlin/net/jami/scan/ScanPresenter.kt
- jami-android/libjamiclient/src/main/kotlin/net/jami/share/SharePresenter.kt 43 additions, 14 deletions...miclient/src/main/kotlin/net/jami/share/SharePresenter.kt
Loading
Please register or sign in to comment