I am trying to use TableLayoutManager, to display images in grid view, in ListContainer. But, it is not displaying in the form of a grid of images, but, is displaying a list of images. For Eg code used is added below,
ListContainer listContainer = (ListContainer) findComponentById(ResourceTable.Id_recyclerView);
TableLayoutManager tableLayoutManager = new TableLayoutManager();
tableLayoutManager.setOrientation(Component.VERTICAL);
tableLayoutManager.setColumnCount(3);
listContainer.setLayoutManager(tableLayoutManager);
Can you please inform, what is the issue in the above code, and how can we achieve a grid of images/items, in Harmony OS.