The image shows how to register to be adapter as provider, after adding adapter java file in project.