void Awake() { searchResultList = searchResults.GetComponent <DRSearchResultListController> (); List <DailyReflection> drlist = DRCache.FetchSomeDRs("en"); searchResultList.InitScrollView(drlist); }
public void OnSearchButton() { List <DailyReflection> drs = DRCache.FetchSomeDRs("en", 20); DRList drList = drListObj.GetComponent <DRList> (); drList.InitScrollView(drs); MakeActiveColors(); }
public void OnFavoriteButton() { List <DailyReflection> drs = DRCache.FetchSomeDRs("en"); DRList drList = drListObj.GetComponent <DRList> (); drList.InitScrollView(drs); MakeActiveColors(favoriteImage, favoriteText); }