/* Ċ Ġ* ĠCopyright Ġ( c ) Ġ 2 0 1 8 ĠH oss ain ĠK han Ċ Ġ* Ċ Ġ* ĠLicensed Ġunder Ġthe ĠApache ĠLicense , ĠVersion Ġ 2 . 0 Ġ( the Ġ" License "); Ċ Ġ* Ġyou Ġmay Ġnot Ġuse Ġthis Ġfile Ġexcept Ġin Ġcompliance Ġwith Ġthe ĠLicense . Ċ Ġ* ĠYou Ġmay Ġobtain Ġa Ġcopy Ġof Ġthe ĠLicense Ġat Ċ Ġ* Ċ Ġ* ĠĠĠĠ Ġhttp :// www . apache . org / licenses / LICENSE - 2 . 0 Ċ Ġ* Ċ Ġ* ĠUnless Ġrequired Ġby Ġapplicable Ġlaw Ġor Ġagreed Ġto Ġin Ġwriting , Ġsoftware Ċ Ġ* Ġdistributed Ġunder Ġthe ĠLicense Ġis Ġdistributed Ġon Ġan Ġ" AS ĠIS " ĠBASIS , Ċ Ġ* ĠWITHOUT ĠWARRANTIES ĠOR ĠCONDITIONS ĠOF ĠANY ĠKIND , Ġeither Ġexpress Ġor Ġimplied . Ċ Ġ* ĠSee Ġthe ĠLicense Ġfor Ġthe Ġspecific Ġlanguage Ġgoverning Ġpermissions Ġand Ċ Ġ* Ġlimitations Ġunder Ġthe ĠLicense . Ċ Ġ*/ Ċ Ċ package Ġcom . ho ss ain k han . android . demo . di Ċ Ċ import Ġcom . ho ss ain k han . android . demo . ui . functional demo . Movie Details Preview Activity Ċ import Ġcom . ho ss ain k han . android . demo . ui . functional demo . Pin Code Entry Activity Ċ import Ġcom . ho ss ain k han . android . demo . ui . functional demo . T ed Talk Playback Activity Ċ import Ġcom . ho ss ain k han . android . demo . ui . layout preview . Layout Chain Style Activity Ċ import Ġcom . ho ss ain k han . android . demo . ui . layout preview . Layout Dimension MinMax Activity Ċ import Ġcom . ho ss ain k han . android . demo . ui . layout preview . Layout Guide line Barrier Activity Ċ import Ġcom . ho ss ain k han . android . demo . ui . layout preview . Layout Guide line Group Activity Ċ import Ġcom . ho ss ain k han . android . demo . ui . layout preview . Layout Preview Base Activity Ċ import Ġcom . ho ss ain k han . android . demo . ui . layout preview . Layout Visibility G one Activity Ċ import Ġcom . ho ss ain k han . android . demo . ui . resource . Learning Resource Activity Ċ import Ġdagger . Module Ċ import Ġdagger . android . Contribut es Android Injector Ċ Ċ /** Ċ Ġ* ĠWe Ġwant ĠD agger . Android Ġto Ġcreate Ġa ĠSub component Ġwhich Ġhas Ġa Ġparent ĠComponent Ġof Ġwh iche ver Ċ Ġ* Ġmodule ĠActivity Binding Module Ġis Ġon , Ġin Ġour Ġcase Ġthat Ġwill Ġbe Ġ[ Demo Application Component ]. Ċ Ġ* Ċ Ġ* ĠThe Ġbeautiful Ġpart Ġabout Ġthis Ġsetup Ġis Ġthat Ġyou Ġnever Ġneed Ġto Ġtell Ġ[ Demo Application Component ] Ċ Ġ* Ġthat Ġit Ġis Ġgoing Ġto Ġhave Ġall Ġthese Ġsub components Ġnor Ġdo Ġyou Ġneed Ġto Ġtell Ġthese Ġsub components Ċ Ġ* Ġthat Ġ[ Demo Application Component ] Ġexists . Ċ Ġ* Ċ Ġ* ĠWe Ġare Ġalso Ġtelling ĠD agger . Android Ġthat Ġthis Ġgenerated ĠSub Component Ġneeds Ġto Ġinclude Ċ Ġ* Ġthe Ġspecified Ġmodules Ġand Ġbe Ġaware Ġof Ġa Ġscope Ġannotation Ġ@ Activity Scoped Ċ Ġ* ĠWhen ĠD agger . Android Ġannotation Ġprocessor Ġruns Ġit Ġwill Ġcreate Ġsub components Ġfor Ġus . Ċ Ġ*/ Ċ @ Module Ċ abstract Ġclass ĠActivity Binding Module Ġ{ ĊĠĠĠ Ġ/* ĊĠĠĠĠ Ġ* Ġhttps :// google . github . io / d agger / android . html ĊĠĠĠĠ Ġ* ĠPro - tip : ĠIf Ġyour Ġsub component Ġand Ġits Ġbuilder Ġhave Ġno Ġother Ġmethods Ġor Ġsup ert ypes Ġthan ĊĠĠĠĠ Ġ* Ġthe Ġones Ġmentioned Ġin Ġstep Ġ# 2 , Ġyou Ġcan Ġuse Ġ@ Contribut es Android Injector Ġto Ġgenerate Ġthem Ġfor Ġyou . ĊĠĠĠĠ Ġ* ĊĠĠĠĠ Ġ* ĠInstead Ġof Ġsteps Ġ 2 Ġand Ġ 3 , Ġadd Ġan Ġabstract Ġmodule Ġmethod Ġthat Ġreturns Ġyour Ġactivity , ĊĠĠĠĠ Ġ* Ġannotate Ġit Ġwith Ġ@ Contribut es Android Injector , Ġand Ġspecify Ġthe Ġmodules Ġyou Ġwant Ġto Ġinstall ĊĠĠĠĠ Ġ* Ġinto Ġthe Ġsub component . ĠIf Ġthe Ġsub component Ġneeds Ġscopes , Ġapply Ġthe Ġscope Ġannotations Ġto ĊĠĠĠĠ Ġ* Ġthe Ġmethod Ġas Ġwell . ĊĠĠĠĠ Ġ*/ ĊĊĠĠĠ Ġ@ Activity Scope ĊĠĠĠ Ġ@ Contribut es Android Injector ĊĠĠĠ Ġabstract Ġfun Ġlayout Preview Base Activity (): ĠLayout Preview Base Activity ĊĊĠĠĠ Ġ@ Activity Scope ĊĠĠĠ Ġ@ Contribut es Android Injector ĊĠĠĠ Ġabstract Ġfun Ġlayout Visibility Activity (): ĠLayout Visibility G one Activity ĊĊĠĠĠ Ġ@ Activity Scope ĊĠĠĠ Ġ@ Contribut es Android Injector ĊĠĠĠ Ġabstract Ġfun Ġlayout Chain Activity (): ĠLayout Chain Style Activity ĊĊĠĠĠ Ġ@ Activity Scope ĊĠĠĠ Ġ@ Contribut es Android Injector ĊĠĠĠ Ġabstract Ġfun Ġlayout Guide line Barrier Activity (): ĠLayout Guide line Barrier Activity ĊĊĠĠĠ Ġ@ Activity Scope ĊĠĠĠ Ġ@ Contribut es Android Injector ĊĠĠĠ Ġabstract Ġfun Ġlayout Guide line Group Activity (): ĠLayout Guide line Group Activity ĊĊĠĠĠ Ġ@ Activity Scope ĊĠĠĠ Ġ@ Contribut es Android Injector ĊĠĠĠ Ġabstract Ġfun Ġlayout Dimension MinMax Activity (): ĠLayout Dimension MinMax Activity ĊĊĠĠĠ Ġ@ Activity Scope ĊĠĠĠ Ġ@ Contribut es Android Injector ĊĠĠĠ Ġabstract Ġfun Ġlayout Movie Details Preview Activity (): ĠMovie Details Preview Activity ĊĊĠĠĠ Ġ@ Activity Scope ĊĠĠĠ Ġ@ Contribut es Android Injector ĊĠĠĠ Ġabstract Ġfun Ġlayout T ed Talk Playback Preview Activity (): ĠT ed Talk Playback Activity ĊĊĠĠĠ Ġ@ Activity Scope ĊĠĠĠ Ġ@ Contribut es Android Injector ĊĠĠĠ Ġabstract Ġfun Ġlayout Pin Code Entry Activity (): ĠPin Code Entry Activity ĊĊĠĠĠ Ġ@ Activity Scope ĊĠĠĠ Ġ@ Contribut es Android Injector ĊĠĠĠ Ġabstract Ġfun Ġlearning Resource Activity (): ĠLearning Resource Activity Ċ }