Radial Menu Sub items refreshment

Dear Syncfusion Team,

      I am using syncfusion radial menu control to set time limit to delete file. First time i am showing default time 1 min as green color. When i select another time, i would like to  show as selected item in green color(suppose if i select 15 min, 15 min should change to green color ), but i am not able to refresh items until i freshly load radial menu.
     Is there any way to refresh items without reload total radial menu view.
     It would be of greet help, if you can get me out of the issue.
     In anticipation of your prompt response.

Thanks & Regards,
Tirumaleswara Reddy.

Attachment: Screen_Shot_20171115_at_11.10.18_PM_24aacbb8.zip

3 Replies

SK Selva Kumar  Veerakrishnan Syncfusion Team November 17, 2017 02:02 PM UTC

Hi Tirumaleswara,

Thank you for contacting Syncfusion Support.

We have created a sample for your reference, in which when we change the RadialMenuItem, the TextColor of the particular item will get change to Green other item text colour will be in black colour. Please download the sample from the link given below.

Sample link: http://www.syncfusion.com/downloads/support/directtrac/general/ze/Xamarin_Android_3_2-778432422.zip
 
Please check the sample whether it meet your requirement. if not let us know with the more details about your requirement.

Please let us know if you have any concern about this.

Regards,
Selva Kumar V.


TR Tirumaleswara Reddy.K November 18, 2017 08:23 AM UTC

Hi,
     Thank you for your response.  I have gone through your sample program, following are the screen shots related to sample.


Then i removed view and only placed text as follows



The solution for my problem is not in the sample program that you have shared, so to clear things up I have attached a sample video please go through it.

My problem is when I open the radial menu and select one option (ex:p+) it would get highlighted and the radial menu would close after selecting. When I reopen the radial menu with out changing the view the option that I have selected p+ should be highlighted. The radial menu should refresh with out changing the view.



Attachment: RadilMenuVideo_3de1f03c.zip


SK Selva Kumar  Veerakrishnan Syncfusion Team November 20, 2017 12:43 PM UTC

Hi Tirumaleswara,

Thanks for your response.

The sample which we have given in our previous update have Two index inside a RadialMenuItem. The 0th index will be the Image and the 1st index will be the Text. When we remove the image there will be only Text present inside the RadialMenuItem. In that case we need to use the code as given below.

if (innerLayout.GetChildAt(0) is TextView)
      (innerLayout.GetChildAt(0) as TextView).SetTextColor(Android.Graphics.Color.Black);

We have modified the sample which has only Text, also we have recorded the video for the same. Please download it from the link given below.

Sample link : http://www.syncfusion.com/downloads/support/directtrac/general/ze/Xamarin_Android_3_2_3-1721092476.zip

Video link : http://www.syncfusion.com/downloads/support/directtrac/general/ze/RadialMenu_Video-2063561552.zip

Please let us know if you have any concern about this.

Regards,
Selva Kumar V.

Loader.
Up arrow icon