Skip to content

Commit

Permalink
Fix errors related to nullable variables
Browse files Browse the repository at this point in the history
  • Loading branch information
Jarvis Lin committed Apr 26, 2024
1 parent 2f8fdb5 commit f42aee6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ open class NoteBlock(
return false
}

open fun configureView(view: View): View? {
open fun configureView(view: View): View {
val noteBlockHolder = view.tag as BasicNoteBlockHolder

// Note image
Expand Down Expand Up @@ -224,7 +224,7 @@ open class NoteBlock(
return textViewVisibility1
}

open fun getViewHolder(view: View): Any? = BasicNoteBlockHolder(view)
open fun getViewHolder(view: View): Any = BasicNoteBlockHolder(view)

internal class BasicNoteBlockHolder(view: View) {
private val mRootLayout: LinearLayout = view as LinearLayout
Expand Down

0 comments on commit f42aee6

Please sign in to comment.