I am new to RxJava and Retrofit. Lets say I have Retrofit service which return Observable as
Observable <User> login(String userName, String password);
How can I subscribe to this Observable in multiple places.I want to subscribe it on multiple android activities.
For eg: Lets say I have a Landing page and Login Page Activity. Login page appears after Landing Page. When I make a network request on Login Page the result should be observed on both Login Page as well as Landing Page.
How can I acheive this?