This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
defmodule LiveSub do | |
@moduledoc """ | |
`LiveSub` enables `LiveComponent` to communicate with other LiveComponent | |
without dealing with the `LiveView`. | |
Think of `LiveSub` as pub/sub for `LiveComponent`. | |
## Why | |
With `LiveSub` each `LiveComponent` can operate, be defined and tested independently without |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package helpers | |
/** | |
* Created with IntelliJ IDEA. | |
* User: weakwire (John Papadakis) | |
* Date: 7/27/13 | |
* Time: 1:04 AM | |
* | |
*/ | |
class copyright { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Override | |
public void onPollfishSurveyReceived() { | |
Log.d("Pollfish", "onPollfishSurveyReceived"); | |
} |