package Ġes . c en ec mal aga . l sed act ilo logic o . activ idades Ċ Ċ import Ġandroid . graphics . drawable . Animation Drawable Ċ import Ġandroid . os . Bundle Ċ import Ġandroidx . constraint layout . widget . Constraint Layout Ċ import Ġandroidx . recyclerview . widget . Linear LayoutManager Ċ import Ġandroidx . recyclerview . widget . RecyclerView Ċ import Ġcom . N icol as F ern ande z . l sed act ilo logic o . R Ċ import Ġes . c en ec mal aga . l sed act ilo logic o . adapters _ holders . Adapter S ob re N os ot ros Ċ import Ġes . c en ec mal aga . l sed act ilo logic o . cl ases . Activ idad Base Ċ import Ġes . c en ec mal aga . l sed act ilo logic o . cl ases . Contributor Ċ import Ġkotlin . collections . ArrayList Ċ Ċ /** Ċ Ġ* ĠCl ase Ġque Ġmuestra Ġla Ġactiv idad ĠS ob re ĠN os ot ros Ċ Ġ* Ġ@ author ĠM ig uel ĠP Ã¡ ram os Ċ Ġ* Ġ@ author ĠN icol Ã¡s ĠF ern ande z ĠHer edia Ċ Ġ*/ Ċ class ĠActiv idad S ob re N os ot ros Ġ: ĠActiv idad Base ( R . layout . activ idad _ so bre _ nos ot ros ) Ġ{ ĊĊĠĠĠ Ġ/** ĊĠĠĠĠ Ġ* ĠFunc iÃ³n ĠonCreate , Ġque Ġre ll ena Ġe Ġinicial iza Ġel ĠRecyclerView Ġdon de Ġse Ġmue str an Ġlos Ġcont ribu id ores . ĊĠĠĠĠ Ġ*/ ĊĠĠĠ Ġoverride Ġfun ĠonCreate ( savedInstanceState : ĠBundle ?) Ġ{ ĊĠĠĠĠĠĠĠ Ġsuper . onCreate ( savedInstanceState ) ĊĊĠĠĠĠĠĠĠ Ġvar Ġcont ribu id ores : ĠArrayList < Contributor > Ġ= ĠArrayList < Contributor >(); ĊĊĠĠĠĠĠĠĠ Ġvar Ġcontributor 1 : Contributor = ĠContributor (" N icol Ã¡s ĠF ern ande z ĠHer edia "," Al umno "," D ise Ã±o Ġinicial , Ġy Ġconsist encia Ġde Ġdatos Ġal Ġgir ar Ġla Ġapp "," nico ") ĊĠĠĠĠĠĠĠ Ġvar Ġcontributor 2 : Contributor = ĠContributor (" K evin ĠR Ã¤Ã¤ k "," Al umno "," Grab aciÃ³n Ġde Ġvo z Ġpara Ġla Ġactiv idad Ġ\" Ay Ãº dan os Ġa Ġme jor ar \" "," ke vin ") ĊĠĠĠĠĠĠĠ Ġvar Ġcontributor 3 : Contributor = ĠContributor (" R afa ĠCar ri Ã³n ĠP once "," Al umno "," Bot Ã³n Ġpara Ġli mp iar Ġtrad uc ciÃ³n "," r afa ") ĊĠĠĠĠĠĠĠ Ġvar Ġcontributor 4 : Contributor = ĠContributor (" Fr anc isco ĠE spa Ã±a ĠQu int ana "," Al umno "," P uesta Ġal Ġd ÃŃa Ġde Ġllam adas Ġa Ġfunc iones Ġque Ġse Ġqu ed aron Ġob so let as "," fr anc isco ") ĊĠĠĠĠĠĠĠ Ġvar Ġcontributor 5 : Contributor = ĠContributor (" M ig uel ĠP Ã¡ ram os "," Prof es or "," Me jor as Ġen Ġe fici encia , Ġnot aciÃ³n Ġy Ġaspect o "," mig uel ") ĊĊĊĠĠĠĠĠĠĠ Ġcont ribu id ores . add ( contributor 4 ) ĊĠĠĠĠĠĠĠ Ġcont ribu id ores . add ( contributor 2 ) ĊĠĠĠĠĠĠĠ Ġcont ribu id ores . add ( contributor 1 ) ĊĠĠĠĠĠĠĠ Ġcont ribu id ores . add ( contributor 3 ) ĊĠĠĠĠĠĠĠ Ġcont ribu id ores . add ( contributor 5 ) ĊĊĠĠĠĠĠĠĠ Ġval Ġconten edor Recycler : ĠRecyclerView Ġ= ĠfindViewById ( R . id . lista Cont ribu id ores ) ĊĠĠĠĠĠĠĠ Ġval Ġadapter : Adapter S ob re N os ot ros = ĠAdapter S ob re N os ot ros ( this , cont ribu id ores ) ĊĊĠĠĠĠĠĠĠ Ġconten edor Recycler . adapter = adapter ĊĊĠĠĠĠĠĠĠ Ġconten edor Recycler . layout Manager = Linear LayoutManager ( this ) ĊĠĠĠ Ġ} Ċ }