how to access activity variable in adapter

how to access activity variable in adapter

You can pass variable in constructor 

public Order_Details_Adapter(Context context, List<Order_Details_Model> order_details_models, String userid) {
    this.context = context;
    this.order_details_models = order_details_models;
    this.userid = userid;
}