getting the context in a rexyxler view android code example Example: how to get context in recyclerview adapter private Context context;