Guest User

HourlyAdapter.java

a guest
Jun 28th, 2018
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 1.00 KB | None | 0 0
  1. package com.example.karan.stormy.adapters;
  2.  
  3. import android.support.annotation.NonNull;
  4. import android.support.v7.widget.RecyclerView;
  5. import android.view.ViewGroup;
  6.  
  7. /**
  8.  * Created by karan on 28/06/18
  9.  */
  10. public class HourlyAdapter extends RecyclerView.Adapter<HourlyAdapter.ViewHolder> {
  11.     @NonNull
  12.     @Override
  13.     public RecyclerView.ViewHolder onCreateViewHolder(@NonNull ViewGroup viewGroup, int i) {
  14.         return null;
  15.     }
  16.  
  17.     @Override
  18.     public void onBindViewHolder(@NonNull RecyclerView.ViewHolder viewHolder, int i) {
  19.        ;
  20.     }
  21.  
  22.     @Override
  23.     public int getItemCount() {
  24.         return 0;
  25.     }
  26.  
  27.     public class ViewHolder extends RecyclerView.ViewHolder {
  28.  
  29.         // Binding variables
  30.         public HourlyListItemBinding hourlyListItemBinding;
  31.  
  32.         //Constructor to do view lookups for each subview
  33.         public ViewHolder(HourlyListItemBinding hourlyLayoutBinding) {
  34.             super(hourlyLayoutBinding.getRoot());
  35.  
  36.         }
  37.     }
  38. }
Add Comment
Please, Sign In to add comment