Advertisement
Guest User

Untitled

a guest
Feb 23rd, 2019
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.76 KB | None | 0 0
  1. package com.example.android.booklisting;
  2.  
  3. import android.content.Context;
  4. import android.support.annotation.NonNull;
  5. import android.support.v4.view.PagerAdapter;
  6. import android.view.LayoutInflater;
  7. import android.view.View;
  8. import android.view.ViewGroup;
  9. import android.widget.ImageView;
  10. import android.widget.RelativeLayout;
  11. import android.widget.TextView;
  12.  
  13. public class SliderAdapter extends PagerAdapter {
  14.  
  15. Context context;
  16. LayoutInflater layoutInflater;
  17.  
  18. public SliderAdapter(Context context) {
  19. this.context = context;
  20. }
  21.  
  22. public String[] slide_headings = {
  23. context.getString(R.string.onboard1Header),
  24. context.getString(R.string.onboard2Header),
  25. context.getString(R.string.onboard3Header)
  26. };
  27. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement