• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Questions about Android Kotlin

Macnerd

Newbie
I'd like to learn Kotlin.

I've watched YouTube videos about Android Kotlin.

I assume that there's more source code with an Android Kotlin app than there is for a Kotlin app. Because the Android app has scrolling & swiping & tapping & stuff which Kotlin doesn't need.

Unless I want to create a Kotlin app. Then I assume that I would use Swing or JavaFX, right?

So, I assume that it would be easier for me to learn Kotlin first & then learn Android Kotlin. Is my assumption correct?
 
I moved your thread over to the App Development forum.

Kotlin is a relatively new language, which is now available to write Android apps. As you have found, there isn't much in the way of online help tutorials and other resources. That's because the vast majority of Android apps are coded using Java.
You can forget about using JavaFX or Swing, as neither of those technologies are relevant for Android.
So if your intention is to create Android apps, then focus on learning Java. This will open up a wealth of online resources to help you learn.
 
Maybe that's why I haven't gotten a reply. Thank you.

I've found more YouTube videos on Kotlin for Android than Kotlin in general.

I don't like the verbosity of Java. I've spent hours on YouTube & Google learning about the different Java programming languages. Kotlin intrigues me. Unfortunately, there aren't any Kotlin books at Barnes & Noble down the street.

It seems to me that there's more source code required for Kotlin for Android than there would be for Kotlin in general. Because Android apps have tapping & swiping which Kotlin doesn't have. Would I need to learn additional code in order to create an Android app using Kotlin?

I have the IntelliJ IDE installed on my Mac. I noticed that it doesn't support Kotlin for Android.
 
You know I'm hearing this a lot, that Java is a verbose language. I don't really consider this to be a problem. However, you are entirely at liberty to use a terser language like Kotlin, but there's often a downside to terseness, and that is the code becomes more cryptic, and harder to understand. I like Java because its additional verboseness helps to document the code, and make it easy to follow. Besides, with a modern IDE like Android Studio, the code practically writes itself. I'm not kidding, you have auto-complete features, and all package imports are automatically written for you. Honestly I can write Java code in virtually no time at all.
But I can see that someone coming fresh to the subject, might have different opinions.
Anyway, that's just my view. If you wish to develop Android apps, then you're advised to install Android Studio. See here for some useful links:

https://androidforums.com/threads/please-read-me-before-posting.987318/

As to the additional 'verbosity' when using Kotlin in the Android development context, well yes, apps must respond to gestures, button clicks, in fact the whole range of user inputs. All languages must have code to handle those things.
 
Back
Top Bottom