Fix config option 'adapter' who don't create adapter until method setAdapter is called