package Ġcom . alibaba . android . ar outer . app . fragment Ċ Ċ import Ġandroid . os . Bundle Ċ import Ġandroid . view . View Ċ import Ġcom . alibaba . android . ar outer . app . Constants Ċ import Ġcom . alibaba . android . ar outer . app . R Ċ import Ġcom . android . appengine . router . getApp Service Ċ import Ġcom . alibaba . android . ar outer . app . service . Auth Service Ċ import Ġcom . alibaba . android . ar outer . facade . annotation . Route Ċ Ċ @ Route ( path Ġ= ĠConstants . ROUT ER _ FRAGMENT _ AUTH _ REGISTER ) Ċ class ĠRegister Fragment Ġ: ĠBase Fragment () Ġ{ ĊĊĠĠĠ Ġoverride Ġfun ĠgetContent Id (): ĠInt Ġ= ĠR . layout . fragment _ register ĊĊĠĠĠ Ġoverride Ġfun Ġon View Created ( view : ĠView , ĠsavedInstanceState : ĠBundle ?) Ġ{ ĊĠĠĠĠĠĠĠ Ġsuper . on View Created ( view , ĠsavedInstanceState ) ĊĊĠĠĠĠĠĠĠ Ġview . findViewById < View >( R . id . auth _ btn _ register ). setOnClickListener Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġshow Toast (" Registered , ĠAuto Ġsign In .") ĊĠĠĠĠĠĠĠĠĠĠĠ Ġget App Service ( Auth Service :: class ). authenticated Ġ= Ġtrue ĊĠĠĠĠĠĠĠĠĠĠĠ Ġrequire Activity (). finish () ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} Ċ Ċ }