GithubHelp home page GithubHelp logo

kitfist0 / mycardholder Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 0.0 1.81 MB

Open source barcode scanning app

License: Apache License 2.0

Kotlin 99.84% Shell 0.16%
barcode-scanner dagger-hilt firebase mlkit-android mvvm-android navigation-component play-billing qrcode-scanner room-persistence-library safe-args

mycardholder's People

Contributors

kitfist0 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

mycardholder's Issues

Navigation destination cannot be found from the current destination

Fatal Exception: java.lang.IllegalArgumentException: Navigation action/destination my.cardholder.gp:id/from_card_display_to_card_content cannot be found from the current destination Destination(my.cardholder.gp:id/card_edit_fragment) label=Edit class=my.cardholder.ui.card.edit.CardEditFragment
       at androidx.navigation.NavController.navigate(NavController.kt:1663)
       at androidx.navigation.NavController.navigate(NavController.kt:2152)
       at my.cardholder.ui.base.BaseFragmentExtKt$collectAndHandleBaseEvents$$inlined$collectWhenStarted$1$1$1.invokeSuspend(LifecycleExt.kt:26)
       at my.cardholder.ui.base.BaseFragmentExtKt$collectAndHandleBaseEvents$$inlined$collectWhenStarted$1$1$1.invoke(:8)
       at my.cardholder.ui.base.BaseFragmentExtKt$collectAndHandleBaseEvents$$inlined$collectWhenStarted$1$1$1.invoke(:2)
       at kotlinx.coroutines.flow.FlowKt__TransformKt$onEach$$inlined$unsafeTransform$1$2.emit(Emitters.kt:223)
       at kotlinx.coroutines.flow.FlowKt__ChannelsKt.emitAllImpl$FlowKt__ChannelsKt(Channels.kt:62)
       at kotlinx.coroutines.flow.FlowKt__ChannelsKt.access$emitAllImpl$FlowKt__ChannelsKt(Channels.kt:1)
       at kotlinx.coroutines.flow.FlowKt__ChannelsKt$emitAllImpl$1.invokeSuspend(:14)
       at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
       at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
       at kotlinx.coroutines.EventLoop.processUnconfinedEvent(EventLoop.common.kt:69)
       at kotlinx.coroutines.internal.DispatchedContinuationKt.resumeCancellableWith(DispatchedContinuation.kt:376)
       at kotlinx.coroutines.intrinsics.CancellableKt.startCoroutineCancellable(Cancellable.kt:30)
       at kotlinx.coroutines.intrinsics.CancellableKt.startCoroutineCancellable$default(Cancellable.kt:25)
       at kotlinx.coroutines.CoroutineStart.invoke(CoroutineStart.kt:110)
       at kotlinx.coroutines.AbstractCoroutine.start(AbstractCoroutine.kt:126)
       at kotlinx.coroutines.BuildersKt__Builders_commonKt.launch(Builders.common.kt:56)
       at kotlinx.coroutines.BuildersKt.launch(:1)
       at kotlinx.coroutines.BuildersKt__Builders_commonKt.launch$default(Builders.common.kt:47)
       at kotlinx.coroutines.BuildersKt.launch$default(:1)
       at my.cardholder.ui.base.BaseViewModel.sendEvent(BaseViewModel.kt:60)
       at my.cardholder.ui.base.BaseViewModel.navigate(BaseViewModel.kt:40)
       at my.cardholder.ui.card.display.CardDisplayViewModel.onCardContentTextLongClicked(CardDisplayViewModel.kt:38)
       at my.cardholder.ui.card.display.CardDisplayFragment.initViews$lambda$5$lambda$3$lambda$2(CardDisplayFragment.kt:43)
       at my.cardholder.ui.card.display.CardDisplayFragment.$r8$lambda$dsQ8zZd2ekCpGEAaUBL2CZAJdhw()
       at my.cardholder.ui.card.display.CardDisplayFragment$$ExternalSyntheticLambda0.onLongClick(:4)
       at android.view.View.performLongClickInternal(View.java:7622)
       at android.view.View.performLongClick(View.java:7580)
       at android.view.View.performLongClick(View.java:7598)
       at android.view.View$CheckForLongPress.run(View.java:29434)
       at android.os.Handler.handleCallback(Handler.java:942)
       at android.os.Handler.dispatchMessage(Handler.java:99)
       at android.os.Looper.loopOnce(Looper.java:201)
       at android.os.Looper.loop(Looper.java:288)
       at android.app.ActivityThread.main(ActivityThread.java:7918)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936)

IllegalArgumentException when clicking on a product button

Fatal Exception: java.lang.IllegalArgumentException: Details of the products must be provided.
       at com.android.billingclient.api.BillingFlowParams$Builder.build(com.android.billingclient:billing@@6.0.1:49)
       at my.cardholder.util.ext.PlayBillingExtKt.launchNonConsumableProductPurchase(PlayBillingExt.kt:35)
       at my.cardholder.util.ext.PlayBillingExtKt$launchNonConsumableProductPurchase$1.invokeSuspend(:13)
       at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
       at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
       at android.os.Handler.handleCallback(Handler.java:942)
       at android.os.Handler.dispatchMessage(Handler.java:99)
       at android.os.Looper.loopOnce(Looper.java:201)
       at android.os.Looper.loop(Looper.java:288)
       at android.app.ActivityThread.main(ActivityThread.java:7872)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936)

NullPointerException after edit fab click

java.lang.NullPointerException: transitionName must not be null
    at my.cardholder.util.ViewExtKt.setupUniqueTransitionName(ViewExt.kt:7)
    at my.cardholder.ui.card.editor.CardEditorFragment.initViews(CardEditorFragment.kt:40)
    at my.cardholder.ui.base.BaseFragment.onViewCreated(BaseFragment.kt:67)
    at androidx.fragment.app.Fragment.performViewCreated(Fragment.java:3128)
    at androidx.fragment.app.FragmentStateManager.createView(FragmentStateManager.java:552)
    at androidx.fragment.app.FragmentStateManager.moveToExpectedState(FragmentStateManager.java:261)
    at androidx.fragment.app.FragmentManager.executeOpsTogether(FragmentManager.java:1890)
    at androidx.fragment.app.FragmentManager.removeRedundantOperationsAndExecute(FragmentManager.java:1814)
    at androidx.fragment.app.FragmentManager.execPendingActions(FragmentManager.java:1751)
    at androidx.fragment.app.FragmentManager$5.run(FragmentManager.java:538)
    at android.os.Handler.handleCallback(Handler.java:942)
    at android.os.Handler.dispatchMessage(Handler.java:99)
    at android.os.Looper.loopOnce(Looper.java:201)
    at android.os.Looper.loop(Looper.java:288)
    at android.app.ActivityThread.main(ActivityThread.java:7898)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.