I’m afraid it is very difficult to understand what you are asking about. What packages are you using? Please include fully runnable code with all the necessary using or import statements.
I’m afraid the thread title itself is far from self-explanatory. In general, it is recommended to read the following post, which can help write questions in a clear way: