Skip to content

Commit

Permalink
add default on recycler and adapter as well
Browse files Browse the repository at this point in the history
  • Loading branch information
radiopatrick committed Jan 25, 2024
1 parent 3f38a06 commit 8afab08
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ public class VeilRecyclerFrameView : RelativeLayout {
public fun setVeilLayout(
@LayoutRes layout: Int,
@IntRange(from = 1) size: Int,
isPrepared: Boolean,
isPrepared: Boolean = false,
onItemClickListener: VeiledItemOnClickListener? = null
) {
this.setVeilLayout(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import com.skydoves.androidveil.databinding.VeilItemLayoutBinding

internal class VeiledAdapter(
@LayoutRes private val userLayout: Int,
private val isPrepared: Boolean,
private val isPrepared: Boolean = false,
private val onItemClickListener: VeiledItemOnClickListener? = null,
private val isListItemWrapContentWidth: Boolean = false,
private val isListItemWrapContentHeight: Boolean = true
Expand Down

0 comments on commit 8afab08

Please sign in to comment.