I worked with fragments for a while now, and i want to ask you which is the **best practice** for adding programming logic when using `fragments`. 
I usually set click listeners and instantiate adapters etc... inside the `onCreateView` method right after inflating layout and instantiating views (TextViews EditTexts Lists). 

What do you guys think is the best place to add logic within the fragment lifecycle ?