private void Init() { try { MReactButton = this; MDefaultReaction = XReactions.GetDefaultReact(); MCurrentReaction = MDefaultReaction; AppCompatDelegate.CompatVectorFromResourcesEnabled = true; } catch (Exception e) { Console.WriteLine(e); } }
private void Init() { try { MReactButton = this; MDefaultReaction = XReactions.GetDefaultReact(); MCurrentReaction = MDefaultReaction; AppCompatDelegate.CompatVectorFromResourcesEnabled = true; } catch (Exception e) { Methods.DisplayReportResultTrack(e); } }
public void SetReactionPack(string type) { try { if (type == ReactConstants.Like) { UpdateReactButtonByReaction(MReactionPack[0]); } else if (type == ReactConstants.Love) { UpdateReactButtonByReaction(MReactionPack[1]); } else if (type == ReactConstants.HaHa) { UpdateReactButtonByReaction(MReactionPack[2]); } else if (type == ReactConstants.Wow) { UpdateReactButtonByReaction(MReactionPack[3]); } else if (type == ReactConstants.Sad) { UpdateReactButtonByReaction(MReactionPack[4]); } else if (type == ReactConstants.Angry) { UpdateReactButtonByReaction(MReactionPack[5]); } else { UpdateReactButtonByReaction(XReactions.GetDefaultReact()); } } catch (Exception e) { Methods.DisplayReportResultTrack(e); } }
public void SetReactionPack(string type) { try { if (type == ReactConstants.Like) { UpdateReactButtonByReaction(MReactionPack[0]); } else if (type == ReactConstants.Love) { UpdateReactButtonByReaction(MReactionPack[1]); } else if (type == ReactConstants.HaHa) { UpdateReactButtonByReaction(MReactionPack[2]); } else if (type == ReactConstants.Wow) { UpdateReactButtonByReaction(MReactionPack[3]); } else if (type == ReactConstants.Sad) { UpdateReactButtonByReaction(MReactionPack[4]); } else if (type == ReactConstants.Angry) { UpdateReactButtonByReaction(MReactionPack[5]); } else { UpdateReactButtonByReaction(XReactions.GetDefaultReact()); } } catch (Exception e) { Console.WriteLine(e); } }