package Ġcom . test apps . a key . di ary . ui . holder Ċ Ċ import Ġandroid . content . Context Ċ import Ġandroid . support . v 7 . widget . RecyclerView Ċ import Ġandroid . view . View Ċ import Ġandroid . widget . GridView Ċ import Ġcom . test apps . a key . di ary . R Ċ import Ġcom . test apps . a key . di ary . model . Day Block Ċ import Ġcom . test apps . a key . di ary . ui . adapter . Day Block Adapter Ċ Ċ class ĠCalendar Month ViewHolder ( item View : ĠView , Ġprivate Ġval Ġcontext : ĠContext , Ġyear : ĠInt , Ġmonth : ĠInt ) Ġ: ĊĠĠĠ ĠRecyclerView . ViewHolder ( item View ) Ġ{ ĊĊĠĠĠ Ġval Ġgv Day Blocks : ĠGrid View Ġ= ĠitemView . findViewById ( R . id . gv Day Blocks ) ĊĊĠĠĠ Ġvar Ġday Block Adapter Ġ= ĠDay Block Adapter ( context , Ġyear , Ġmonth ) ĊĊĠĠĠ Ġvar Ġday Block List : ĠArrayList < Day Block > Ġ= Ġday Block Adapter . day Block List ĊĊĠĠĠ Ġinit Ġ{ ĊĠĠĠĠĠĠĠ Ġgv Day Blocks . adapter Ġ= Ġday Block Adapter ĊĠĠĠ Ġ} Ċ } Ċ