我在我的应用程序中使用iCarousel,我需要获取iCarousel的当前索引,并将该索引显示在一个标签( subView of self.view)中,该标签不是iCarousel的subView。我可以通过以下命令获得当前的索引如何在每次滚动轮播时更新label.text中的索引。在这种方法中,我必须编写更新标签的代码。
如何替换kotlin中的字符串?我这里有一个包含html字符串的例子。utm_source=ig_web_copy_link also this is the instagram photo with just normal link id body https://www.instagram.com/p/B8I3r66pVpp/ <h> random title text </h></body></html>&q