context inside adapter android code example Example: how to get context in recyclerview adapter private Context context;