Skip to content

Commit

Permalink
testing new features 🛠
Browse files Browse the repository at this point in the history
  • Loading branch information
iamageo committed Jun 22, 2023
1 parent 6ab9285 commit b36923d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
package com.iamageo.another_read_more

import SimpleAnotherAdapter
import android.os.Bundle
import android.view.View
import androidx.appcompat.app.AppCompatActivity
import androidx.recyclerview.widget.DividerItemDecoration
import androidx.recyclerview.widget.LinearLayoutManager
import androidx.recyclerview.widget.RecyclerView
import com.iamageo.another_read_more.`simple-adapter`.SimpleAnotherAdapter


class MainActivity : AppCompatActivity() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
package com.iamageo.another_read_more.`simple-adapter`

import android.content.Context
import android.graphics.Color
import android.text.Html
Expand All @@ -16,8 +14,10 @@ internal class SimpleAnotherAdapter internal constructor(private val context: Co
RecyclerView.Adapter<SimpleAnotherAdapter.ViewHolder>() {

private val readMoreOption: AnotherReadMore = AnotherReadMore.Builder()
.moreLabelColor(Color.RED)
.lessLabelColor(Color.BLUE)
.underlineVisible(false)
.build()

internal class ViewHolder(v: View) : RecyclerView.ViewHolder(v) {
var mTextView: TextView = v.findViewById(R.id.tv)
}
Expand Down

0 comments on commit b36923d

Please sign in to comment.