Skip to content
This repository has been archived by the owner on Jul 25, 2021. It is now read-only.

Error when using Dagger hilt #97

Open
alasari42 opened this issue Jun 29, 2021 · 0 comments
Open

Error when using Dagger hilt #97

alasari42 opened this issue Jun 29, 2021 · 0 comments

Comments

@alasari42
Copy link

E/AndroidRuntime: FATAL EXCEPTION: main Process: it.dispendikbud.stb.aws, PID: 11272 java.lang.ClassCastException: dagger.hilt.android.internal.managers.ViewComponentManager$FragmentContextWrapper cannot be cast to android.app.Activity at com.github.irshulx.EditorCore.getActivity(EditorCore.java:210) at com.github.irshulx.Components.InputExtensions.setFocus(InputExtensions.java:693) at com.github.irshulx.Components.InputExtensions$4.run(InputExtensions.java:407) at android.os.Handler.handleCallback(Handler.java:883) at android.os.Handler.dispatchMessage(Handler.java:100) at android.os.Looper.loop(Looper.java:214) at android.app.ActivityThread.main(ActivityThread.java:7356) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant