Skip to content

Releases: drakeet/Floo

v1.1.0

21 Sep 04:41
Compare
Choose a tag to compare

Added IntentHandler to start or handle Intents (#13)


public interface IntentHandler {

    /**
     * Called immediately after intent has created on {@link Floo#start()}.
     *
     * @param context The context.
     * @param intent The intent.
     */
    void onIntentCreated(@NonNull Context context, @NonNull Intent intent);
}
Floo.configuration()
    .setDebugEnabled(BuildConfig.DEBUG)
    .setIntentHandler(new FragmentIntentHandler()) // <- DefaultIntentHandler by default 
    .addRequestInterceptor(new LogInterceptor("Request"))
    .addTargetInterceptor(new LogInterceptor("Target"))
    .addTargetNotFoundHandler(new WebHandler())
    .addTargetNotFoundHandler(new OpenDirectlyHandler())
    .addTargetNotFoundHandler(new TargetNotFoundToaster());

v1.0.5

15 Sep 14:30
Compare
Choose a tag to compare
  • Fixed some inspection results (#5, #6)
  • Fixed stackObserverInitialized is always false