title: Implementing the new Android Architecture Components with Activity and Fragments
body: <p>Currently I try implementing an application with the architecture components provided by android. In terms of only using activities in the UI Package there is no problem with that, but if I implement several fragments which are held by one activity in a fragment container I'll get in trouble. The communication for data requests using fragments should never be called from the fragments itself but from its activity. In this case only the activity will register the needed viewmodel but the lifecycle of each fragment isn't handled properly... <strong>how can I face this problem using multiple fragments in one activity requesting data from a server and be lifecycleaware for the fragments even when the activity is calling the viewmodel(s)?</strong></p>