Skip to content

Commit

Permalink
finish removing picasso
Browse files Browse the repository at this point in the history
  • Loading branch information
meiron03 committed Dec 15, 2023
1 parent 322ad8b commit b47baf3
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ import com.pennapps.labs.pennmobile.classes.HomeCell
import com.pennapps.labs.pennmobile.classes.PollCell
import com.pennapps.labs.pennmobile.components.sneaker.Utils.convertToDp
import com.pennapps.labs.pennmobile.utils.Utils
import com.squareup.picasso.Picasso
import eightbitlab.com.blurview.RenderScriptBlur
import kotlinx.android.synthetic.main.fragment_home.*
import kotlinx.android.synthetic.main.home_base_card.view.*
Expand Down Expand Up @@ -449,7 +448,7 @@ class HomeAdapter(private var cells: ArrayList<HomeCell>) :
holder.itemView.home_post_source?.text = info?.source
holder.itemView.home_post_timestamp?.text = info?.timestamp
if (info?.imageUrl != null) {
Picasso.get().load(info.imageUrl).fit().centerCrop().into(holder.itemView.home_post_iv)
Glide.with(mContext).load(info.imageUrl).fitCenter().centerCrop().into(holder.itemView.home_post_iv)
}

// For now, we only use Feature cards for Spring Fling so we show the Fling Fragment
Expand Down

0 comments on commit b47baf3

Please sign in to comment.