omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    Welcome!

    This is the community forum for my apps Pythonista and Editorial.

    For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.


    Navigation View Navigation?

    Editorial
    1
    1
    765
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • TutorialDoctor
      TutorialDoctor last edited by

      The code below pushes a TextView made in the UI designer to a navigation view. It works, except for the fact that when I navigate backwards to the original view, I can't navigate forwards to the view I pushed to it.

      No delegates for the navigation view?

      What is the ideal way of adding views to a navigation view? And what is the ideal way of navigating those views? Perhaps I can push the same view to the navigation view, but just update the content of the view for each new push?

      I have experienced crashes when trying to push two things to a navigation view.

      <pre>
      from ui import *

      main = load_view()

      nav = main['nav']
      text = main['text']
      nav.push_view(text)

      main.present('sheet')
      </pre>

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Powered by NodeBB Forums | Contributors