Created
September 18, 2018 02:28
-
-
Save malikkurosaki/a3bed311fb78597e5902732b869ebc19 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
package com.malik.rajanepikep; | |
import android.support.annotation.NonNull; | |
import android.support.v7.widget.RecyclerView; | |
import android.view.View; | |
import android.widget.ImageView; | |
import android.widget.TextView; | |
public class MyAdapter extends RecyclerView.ViewHolder { | |
public TextView nama,alamat; | |
public ImageView gambar; | |
public MyAdapter(@NonNull View itemView) { | |
super(itemView); | |
nama = itemView.findViewById(R.id.namanya); | |
alamat = itemView.findViewById(R.id.alamatnya); | |
gambar = itemView.findViewById(R.id.gambar); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment