Describe the Android Activity lifecycle and how you prevent memory leaks when handling asynchronous data streams.