Class UserRepository


  • public class UserRepository
    extends Object
    Fetches User data from WebServiceProxy.
    • Constructor Detail

      • UserRepository

        public UserRepository​(Context context)
        Passes Context for Google Sign in Service.
        Parameters:
        context - is this instance of the repository.
    • Method Detail

      • getUserProfile

        public io.reactivex.Single<User> getUserProfile()
        Sets user, gets bearer token for authentication.
        Returns:
        scheduler for IO work after token is received.