Interface ReplyRendererFactory

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface ReplyRendererFactory
Builds the ReplyRenderer used for one assist session. The factory is invoked once per session so the renderer can capture the applied runnable used by its apply buttons to signal that a host write-back succeeded.
  • Method Summary

    Modifier and Type
    Method
    Description
    create(Runnable applied)
     
  • Method Details

    • create

      ReplyRenderer create(Runnable applied)
      Parameters:
      applied - runnable an apply action invokes after its host write-back returns. Mounters (e.g. the popup-anchored trigger) listen for this signal to dismiss themselves; inline mounters are free to ignore it.
      Returns:
      the renderer that handles every reply in this session.