Skip to content

Commit

Permalink
no message
Browse files Browse the repository at this point in the history
  • Loading branch information
wanglu1209 committed Sep 7, 2018
1 parent 1831634 commit e1b2d6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/main/java/com/wanglu/lib/WPopupAdapter.kt
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class WPopupAdapter(private val popup: WPopup) : RecyclerView.Adapter<WPopupAdap
override fun onBindViewHolder(holder: ViewHolder, position: Int) {
holder.tv.text = mData!![position].text
holder.tv.setTextColor(textColor)
holder.tv.textSize = Utils.sp2px(holder.tv.context, textSize).toFloat()
holder.tv.textSize = textSize.toFloat()

holder.view.setOnClickListener {
if (mWItemClickListener != null) {
Expand Down

0 comments on commit e1b2d6e

Please sign in to comment.