Closed NullByte08 closed 3 years ago
@macgills can I take up this issue
@NullByte08 are you still working on this?
@macgills I am facing some issues with detekt
. Let me post them in a moment.
@macgills
It was showing some Dagger errors before, something like Dagger cannot inject in private fields
I changed @field:Inject var notificationManager: NotificationManager,
to
@set:Inject var notificationManager: NotificationManager,
now it is showing this error. Let me try and rectify these.
Look around the codebase for other examples when you are having difficulty. In this scenario you may have seen other files with field injection
@Inject
lateinit var myInjectedObject: AnObject
yeah it looks like there are compilation issues to work through. Make sure you test code locally, if you are stuck you can push up code that is non functional but it is not the ideal scenario
@macgills
Why does detekt
keep picking errors from files I have not even changed?
I have resolved the errors 4-5 times, and every time I try to make a commit it shows new errors in some new files.
detekt
is not failing now
* What went wrong: Execution failed for task ':app:lintDebug'. > Lint found errors in the project; aborting build.
most of that output is compiler warnings
@NullByte08 What's your progress on this ticket?
@gouri-panda I assume you want to take this ticket over? There hasn't been activity for 21 days so I am happy enough to reassign
@gouri-panda I assume you want to take this ticket over? There hasn't been activity for 21 days so I am happy enough to reassign
Thank you @macgills
Is your feature request related to a problem? Please describe.
HotspotNotificationManage
class is in Java.Describe the solution you'd like
convert it to Kotlin
Additional context
Parent issue #1826