Skip to content

Commit

Permalink
Merge pull request #38 from ttoklip/feat/#4_honey_tips_fragment
Browse files Browse the repository at this point in the history
Feat/#4 honey tips fragment
  • Loading branch information
kyujin0911 authored Feb 6, 2024
2 parents dd09c94 + 5d11cdf commit eb32739
Show file tree
Hide file tree
Showing 4 changed files with 214 additions and 257 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,6 @@ import com.umc.ttoklip.presentation.base.BaseActivity

class ImageViewActivity: BaseActivity<ActivityImageViewBinding>(R.layout.activity_image_view) {
override fun initView() {
//setSupportActionBar()
binding.root.setOnClickListener {
if(supportActionBar?.isShowing == true){
supportActionBar?.hide()
}
else{
supportActionBar?.show()
}
}
}

override fun initObserver() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import androidx.recyclerview.widget.DiffUtil
import androidx.recyclerview.widget.ListAdapter
import androidx.recyclerview.widget.RecyclerView
import com.umc.ttoklip.databinding.ItemListHoneyTipBinding
import java.io.Serializable

class HoneyTipListRVA(private var listener: OnItemClickListener): ListAdapter<HoneyTips, HoneyTipListRVA.HoneyTipListViewHolder>(object: DiffUtil.ItemCallback<HoneyTips>(){
override fun areItemsTheSame(oldItem: HoneyTips, newItem: HoneyTips): Boolean {
Expand Down Expand Up @@ -54,4 +55,4 @@ data class HoneyTips(
var body: String,
var date: String,
var chatCnt: Int = 0,
)
): Serializable
Loading

0 comments on commit eb32739

Please sign in to comment.