I also encountered this problem recently because I don’t know much about views and routing. I found a lot of information, but they all look the same, and the so-called examples are not clear. Finally, I found an article that explained it more clearly and also had a better demo source code. [Article address]: http://imayi.me/2016/09/26/an...
You can refer to the official demo
I also encountered this problem recently because I don’t know much about views and routing. I found a lot of information, but they all look the same, and the so-called examples are not clear. Finally, I found an article that explained it more clearly and also had a better demo source code. [Article address]: http://imayi.me/2016/09/26/an...