You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And I get an error while using klintCheck, because the last line has a 10 spaces indentation (to have A2 aligned with A1, and it's done automatically be Intellij
Not sure what is the recommended format in this case, this format feels the most natural, I guess
) :RecyclerView.Adapter<C>() where
A1:RecyclerView.Adapter<V1>, A1:ComposableAdapter.ViewTypeProvider,
A2:RecyclerView.Adapter<V2>, A2:ComposableAdapter.ViewTypeProvider {
would fix the error, but I'm not sure it's the recommended format.
I remember reading an issue in some github about code style for kotlin, where basically no one would agree on a standard format.
I have the following class declaration
And I get an error while using
klintCheck
, because the last line has a 10 spaces indentation (to haveA2
aligned withA1
, and it's done automatically be IntellijNot sure what is the recommended format in this case, this format feels the most natural, I guess
would fix the error, but I'm not sure it's the recommended format.
I remember reading an issue in some github about code style for kotlin, where basically no one would agree on a standard format.
What's the recommendation for this in Klint?
Edit: for future references, the link I was mentioning Kotlin/kotlin-style-guide#2
The text was updated successfully, but these errors were encountered: