This file contains hidden or 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
    
  
  
    
  | const setValue = (ctx, e) => { | |
| ctx.reference.receivingLocation = e.data; | |
| }; | |
| const checkValue = (ctx, e) => { | |
| return ctx.reference.receivingLocation !== null | |
| } | 
  
    
      This file contains hidden or 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
    
  
  
    
  | // Available variables: | |
| // - Machine | |
| // - interpret | |
| // - assign | |
| // - send | |
| // - sendParent | |
| // - spawn | |
| // - raise | |
| // - actions | 
  
    
      This file contains hidden or 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
    
  
  
    
  | const searchValid = (context, event) => { | |
| return context.canSearch && event.query && event.query.length > 0; | |
| } | |
| const searchMachine = Machine( | |
| { | |
| id: 'search', | |
| initial: 'idle', | |
| context: { | |
| canSearch: true | 
  
    
      This file contains hidden or 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
    
  
  
    
  | // Available variables: | |
| // - Machine | |
| // - interpret | |
| // - assign | |
| // - send | |
| // - sendParent | |
| // - spawn | |
| // - raise | |
| // - actions | 
  
    
      This file contains hidden or 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
    
  
  
    
  | // Available variables: | |
| // - Machine | |
| // - interpret | |
| // - assign | |
| // - send | |
| // - sendParent | |
| // - spawn | |
| // - raise | |
| // - actions | 
  
    
      This file contains hidden or 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
    
  
  
    
  | // Available variables: | |
| // - Machine | |
| // - interpret | |
| // - assign | |
| // - send | |
| // - sendParent | |
| // - spawn | |
| // - raise | |
| // - actions | 
  
    
      This file contains hidden or 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
    
  
  
    
  | 11-04 07:56:23.906 10276 10276 D TNS.Java: Platform.CallJSMethod: calling js method onClick with javaObjectID 127 type=com.tns.gen.android.view.View_OnClickListener | |
| 11-04 07:56:23.907 10276 10276 D TNS.Native: CallJSMethodNative called javaObjectID=127 | |
| 11-04 07:56:23.907 10276 10276 D TNS.Native: CallJSMethodNative called jsObject=392669705 | |
| 11-04 07:56:23.909 10276 10276 D TNS.Native: ObjectManager::GetJSInstanceInfo: called | |
| 11-04 07:56:23.909 10276 10276 D TNS.Native: ObjectManager::GetJSInstanceInfo: called | |
| 11-04 07:56:23.909 10276 10276 D TNS.Native: ObjectManager::GetJSInstanceInfo: called | |
| 11-04 07:56:23.911 10276 10276 D TNS.Native: ObjectManager::GetJSInstanceInfo: called | |
| 11-04 07:56:23.911 10276 10276 D TNS.Native: ObjectManager::GetJSInstanceInfo: called | |
| 11-04 07:56:23.944 10276 10276 D TNS.Java: Platform.CallJSMethod: calling js method onActivityPaused with javaObjectID 1 type=com.tns.gen.android.app.Application_ActivityLifecycleCallbacks | |
| 11-04 07:56:23.944 10276 10276 D TNS.Native: CallJSMethodNativ |