Skip to content

Commit

Permalink
added buildAdapter on builder
Browse files Browse the repository at this point in the history
  • Loading branch information
yogeshpaliyal committed Sep 13, 2021
1 parent 32bfb93 commit d78f448
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,8 @@ class UniversalRecyclerAdapter<T> constructor(val adapterBuilder: Builder<T>) {
)

fun build() = UniversalRecyclerAdapter(this)

fun buildAdapter() = build().getAdapter();
}

}

0 comments on commit d78f448

Please sign in to comment.