That’s excellent you’ve reviewed the docs and the example project. You’ll find many/most answers to subsequent questions like this by also searching discourse.
The following discourse thread may be a good starting point for addressing your question:
Use resources like the above to work out as much as you can, then feel free to post a question if you get stuck.