avoid getInstanceVariable("@config")
remove getConfig(context) and getAdapter(context)