Last active
November 8, 2022 08:11
-
-
Save aqua30/27ca6a5b80658d8c303f1a0b530a34fc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class MemberListViewHolder(itemView:View):RecyclerView.ViewHolder(itemView){ | |
@Inject | |
lateinit var userPreference: Preference<LoginResponse> | |
init{ | |
super.itemView | |
ButterKnife.bind(this,itemView) | |
SheroesApplication.getAppComponent(itemView.context).inject(this) | |
if(null!=userPreference&&userPreference.isSet&&null!=userPreference.get().userSummary){ | |
mUserId=userPreference.get().userSummary.userId | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment