引入android生命週期概念來作前端的hash切換頁面的思路:前端
1. page manager來管理多個page(一對多的關係);android
2. route:URL <-> Page;blog
3. Page: model;生命週期
使用方法:hash