Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Agred20186yYou mean you've mistakenly chosen to use Android's NDK instead of SDK, which forced you to code in C/C++ instead of Java/Kotlin, right? 😅
-
@Agred haha that would've been fun 😂 But no, I didn't have lots of troubles with it besides the CompatActivity and Fragment lifecycle which was a bit confusing at first.
My group members on the other hand, although they all previously coded in Java, were a bit overwhelmed which was clearly visible in the final code. It mostly consisted of duplicate code and copy-paste from StackOverflow and the layouts were complete garbage (although the styling was great!)
Spent 15 hours fixing the layouts and had to convert almost everything to Fragments, as everything was declared as Activities with little to no lifecycle-specification, which didn't get along well with some Services we've implemented. -
@frickerg The Android SDK is some weird shit. I made the mistake of making everything an Activity, too. Now I am planning to use as few Activities as possible for the next project.
-
@Lensflare I'd totally do that too! Fragments are way easier to handle inside an activity
-
@Lensflare I'll take back everything I've said as I tried to change a TextView inside a Fragment for hours now to display a MAC address of a connected bluetooth device 😂
-
Agred20186y@frickerg It's really not that hard :D You just need to get a hang of it and it'll become like a second nature.
-
@Agred I'm starting to get the hang of it... The lifecycle is well-documented but asynchronous functions can be quite hard to apply in Views, I'm much more used to traditional Java, but it's fun to code in Android nonetheless
Related Rants
"We chose Android Native as our dev stack because we all got experience in Java"
- The biggest mistake I've ever made in a group project
rant
group projects
university
android
computer science
java