added adapter example
Adapter example