adding adapter to root context