I want to use denzcoskun ImageSlideshow in fragment I'm trying to use carousel in fragment I'm using the following library https: github com denzcoskun ImageSlideshow for image slider In Activity the image slider
Array list (CardView) with same layout but different data The data you pass from Customer1Activity needs a model class Like: public class SlideModel{ int Imagepath; public SlideModel(int Imagepath) { this Imagepath = Imagepath; } public int getImagepath() { return Imagepath; } public void setImagepath(int Imagepath) { this Imagepath = Imagepath; } } and where in MuaActivity you needs a model class like: public class MuaView{ private int pic; private
java - Create Button In A Fragment - Stack Overflow import com denzcoskun imageslider models SlideModel; import java util ArrayList; import java util List; ** * A simple {@link Fragment} subclass * Use the {@link HomeFragment#newInstance} factory method to * create an instance of this fragment * public class HomeFragment extends Fragment implements View OnClickListener { Initiate Button