Just a real quick and simple question:
The original class when making an android app is called “MainActivity”. Will I have any issues if I rename it “Main”?
(In my research, I see that it can be renamed, but I am unsure if this will create complications to give it the name “Main”. I wanted to ask before messing up my program and digging myself into a hole. Thanks!
No, no problem. There are a few things to keep in mind, though:
MainActivitymust reroute toMain.Main. (Pay most attention to<activity android:name="..." .../>.)MainActivityis more descriptive–I’d honestly keep it like that.I would recommend you read this Google developer blog about “What You Can’t Change”.