Hi,
I am trying to display popup by using com.esri.arcgisruntime.mapping.popup.Popup class, but no Popup is coming in Screen.
Whether calling the class automatically creates a popup in the screen using the Popup defintion or we need to create a UI element and a write a code to display attributes in that UI.
Kindly share sample programs if available.
The Popup class isn't a UI component. To display the data you need to write something yourself. This can be in your own UI container, or you could consider using the Callout which is shown here: https://developers.arcgis.com/java/sample-code/show-callout/
Does this help?