开发者

Problem in edittext content

开发者 https://www.devze.com 2023-01-12 21:39 出处:网络
I\'m creating a dynamic tabs. In each newly created tabs , i\'m opening a file. I 开发者_开发知识库want to get the filename or file descriptor

I'm creating a dynamic tabs. In each newly created tabs , i'm opening a file. I 开发者_开发知识库want to get the filename or file descriptor of the selected tab to do file operations on that corresponding file. For example If i want to delete the file, the file and the corresponding tab should be closed. Please give suggestions...........

Thanks in advance.


You can set for each of your tab when you add dynamicall a Tag, which can be your filename or some unique identifier, or even a custom class that holds more data.

Lookup setCurrentTabByTag

0

精彩评论

暂无评论...
验证码 换一张
取 消