开发者

Problem in edittext content

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜