add lifecircle and viewpager demo