Hi,
you can access the gallery list by using the following code:
AlbumRepository repository = AlbumRepository.GetInstance();
EntityCollection<SnAlbumEntity> albums =
null
;
int
recordCount = 0;
Guid? userId =
this
.UserId;
albums = repository.GetAlbums(userId,
this
.GroupId,
this
.PrivacyLevelIds,
true
, pager.CurrentPageIndex + 1, pager.PageSize,
out
recordCount);
PagerUtility.BindPager(pager, DataBind, lvItems, albums, recordCount);
Regards