* Bug: When user changes indicator image url, all indicators turn into unselected look.
Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
for (int i = 0; i < indicatorList.Count; i++)
{
ImageView indicator = indicatorList[i];
- indicator.ResourceUrl = indicatorImageUrl?.Normal;
+ indicator.ResourceUrl = selectedIndex == i ? indicatorImageUrl.Selected : indicatorImageUrl.Normal;
indicator.Size = indicatorSize;
}
if (lastIndicatorImageUrl != null && indicatorCount > 0)
{
- indicatorList[LastIndicatorIndex].ResourceUrl = lastIndicatorImageUrl.Normal;
+ indicatorList[LastIndicatorIndex].ResourceUrl = IsLastSelected ? lastIndicatorImageUrl.Selected : lastIndicatorImageUrl.Normal;
}
}