title: How to send input between screens in kivy?
body: <p>how can I send input from one screen to another screen.In class Create I set input2 to ObjectProperty.I just want to send that input2 to screen All, that I can set  input2 to ObjectProperty in screen All .Is there some library or function to do it.................................................................................................................................................................................................................................
  Thanks
  My python file:</p>
  <pre><code>Builder.load_file(&quot;main.kv&quot;)
  db = TinyDB(&quot;storing.json&quot;)
  from kivy.core.window import Window
  Window.size=(400,600)
  Window.clearcolor = (214/255, 201/255, 78/255, 1)
  class MainWindow(Screen, FloatLayout):
      def submit(self):
          self.manager.current = &quot;all&quot;
  class Create(Screen, FloatLayout):
      input1 = ObjectProperty(None)
      input2 = ObjectProperty(None)
      def __init__(self, **kwargs):
          super(Create, self).__init__(**kwargs)
          self.text_store = JsonStore('storing.json')
          print('loading...')
      def give(self):
          self.text_store['1'] = {self.input2.text:self.input1.text}
  class All(Screen,FloatLayout):
      def __init__(self, **kwargs):
          super(All, self).__init__(**kwargs)
          self.text_store = JsonStore('storing.json')
  
  class Notes(App):
      title = &quot;NOTES&quot;
      def build(self):
          sm = ScreenManager()
          sm.add_widget(MainWindow(name=&quot;main&quot;))
          sm.add_widget(Create(name=&quot;create&quot;))
          sm.add_widget(All(name=&quot;all&quot;))
          return sm
  if __name__ == &quot;__main__&quot;:
      Notes().run()
  </code></pre>
  <p>My kv. file:</p>
  <pre><code>&lt;MainWindow&gt;:
      name:&quot;main&quot;
      canvas:
          Color:
              rgba : 255,255,255,1
          RoundedRectangle:
              pos:(95, 450)
              size : 210,120
              radius: [30, 30, 30, 30]
      FloatLayout:
          Label:
              text:&quot;NOTES&quot;
              pos:(100,450)
              size_hint:(.5,.2)
              color:0,0,0,1
          Button:
              text:&quot;NEW NOTE&quot;
              pos :(100, 300)
              size_hint : (.5,.2)
              on_release:app.root.current=&quot;create&quot;
          Button:
              text:&quot;ALL NOTES&quot;
              pos :(100, 180)
              size_hint : (.5,.2)
              on_release:app.root.current=&quot;all&quot;
          Button:
              text:&quot;EXIT&quot;
              pos :(100, 60)
              size_hint : (.5,.2)
              on_release:app.stop()
  &lt;Create&gt;:
      name:&quot;create&quot;
      input1 : input1
      input2 : input2
      FloatLayout:
          Label:
              text:&quot;NOTE NAME:&quot;
              pos_hint:{&quot;x&quot;:0.07,&quot;top&quot;:.95}
              size_hint : (.1,0.05)
          TextInput:
              id : input1
              multiline:True
              pos_hint :{&quot;x&quot;:.1,&quot;top&quot;:.8}
              size_hint : (.8,.4)
              on_text:
                  root.give()
          TextInput:
              id:input2
              multiline : False
              pos_hint:{&quot;x&quot;:.25,&quot;top&quot;:.95}
              size_hint:(.4,0.05)
          Button:
              id:&quot;submit&quot;
              text:&quot;SUBMIT&quot;
              pos_hint :{&quot;x&quot;:.25,&quot;top&quot;:.4}
              size_hint : (.5,.2)
              on_release:
                  app.root.current=&quot;all&quot;
  
  
          Button:
              id:&quot;back&quot;
              text:&quot;BACK&quot;
              pos_hint :{&quot;x&quot;:.25,&quot;top&quot;:.2}
              size_hint : (.5,.2)
              on_release:app.root.current=&quot;main&quot;
  &lt;All&gt;:
      FloatLayout:
          Button:
              text:&quot;back&quot;
              size_hint:(1,.2)
              pos_hint:{&quot;x&quot;:0,&quot;top&quot;:.2}
              on_release:app.root.current=&quot;main&quot;
  </code></pre>