One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
| public class CustomAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolder>{ | |
| //our items | |
| List<Generic> items = new Arraylist<>(); | |
| //headers | |
| List<View> headers = new ArrayList<>(); | |
| //footers | |
| List<View> footers = new ArrayList<>(); | |
| public static final int TYPE_HEADER = 111; | |
| public static final int TYPE_FOOTER = 222; |
| package me.barrasso.android.volume.ui; | |
| /* | |
| * Copyright (C) 2010 The Android Open Source Project | |
| * | |
| * Licensed under the Apache License, Version 2.0 (the "License"); | |
| * you may not use this file except in compliance with the License. | |
| * You may obtain a copy of the License at | |
| * | |
| * http://www.apache.org/licenses/LICENSE-2.0 |