@kisalit This is in Java, but I think you could take the recommendations and extrapolate them to your own context: