inloop / easygcm

Android Library for easy GCM integration in few lines of code.
Apache License 2.0
261 stars 43 forks source link

Support for setting custom GcmListener #21

Closed davidvavra closed 9 years ago

davidvavra commented 9 years ago

We would like to integrate your library in our library and we don’t have access to the Application instance. That’s why we can’t implement GcmListener directly. This commit adds method setGcmListener() which should be (optionally) called in Application.onCreate()

davidvavra commented 9 years ago

cc @tomik-dev

DanielNovak commented 9 years ago

Thanks! This dedinitely makes sense and could be used in such cases. I don't see any issues so I am merging this.