This directory includes an example that you can incorporate 1:1 in your own code, or you can change to fit your app. 

Refer to the example for additional changes you can make.