Just a question about what I can read on the forum. Are there any difference between dim and private? The guide that I downloaded are using private as for the rest of the forum tutorial uses dim. Are there any specific reason to use any of them?
The Guides use Private or Public, these are the advised keywords. Dim remains only for compatibility.
Many users still use Dim, 'old habits'.
You may have a look at chapter 10.5 Scope in the B4A Beginner's Guide.