Android Question (TextReader) How do it position to the beginning?

vecino

Well-Known Member
Licensed User
Longtime User
Hello, I have a question:
B4X:
Dim TextReader1 As TextReader
TextReader1.Initialize(File.OpenInput(File.DirRootExternal, "Text.txt"))
Dim line As String
line = TextReader1.ReadLine   
Do While line <> Null
  Log(line) 'write the line to LogCat
  line = TextReader1.ReadLine
Loop

TextReader1.?????????????     '   <--  How do it position to the beginning?

TextReader1.Close
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…