https://kotlinlang.org logo
Join SlackCommunities
Powered by
# kotlingforbeginners
  • a

    Ayeng

    01/17/2018, 7:07 AM
    set the channel description: kotling for beginners
  • s

    Smallville7123

    03/24/2019, 3:14 PM
    how can i optimize this https://bpaste.net/show/a82700459fc2
  • s

    Smallville7123

    03/24/2019, 8:24 PM
    Anyone make macro preprocessors?
  • s

    Smallville7123

    03/26/2019, 4:11 PM
    https://github.com/mgood7123/kpp
  • s

    Smallville7123

    04/13/2019, 9:59 AM
    does anyone work on macro preprocessors, as in actually design and code them
  • l

    llsouder

    02/07/2020, 3:18 PM
    Hello! how do I make this pretty?
  • l

    llsouder

    02/07/2020, 3:18 PM
    https://pastebin.com/dyJgZCqU
  • l

    llsouder

    02/07/2020, 3:19 PM
    is there a way to group
    then
    or
    catch
    so I don't have so much nested code
  • l

    llsouder

    02/07/2020, 3:20 PM
    I was thinking of refactoring the setState into a function, but I was looking to use new language features correctly
  • l

    llsouder

    02/07/2020, 3:21 PM
    for example, I saw some
    !!
    but I think that throws out the case where the server is down
  • f

    Foso

    02/09/2020, 8:18 AM
    Hey everybody, when you are new to Kotlin and need help, please join #getting-started . It has 24000 members, this channel has 50.
  • c

    Chills

    04/01/2020, 6:30 AM
    why lateinit with custom setter not allowed?
  • m

    Mike

    04/01/2020, 12:22 PM
    See post above about posting in #getting-started. Way more eyeballs there...
  • v

    vinny2020

    07/15/2020, 3:37 AM
    when you create a const above the class declaration in Kotlin class file. It’s not an instance variable right? What does private const val myValue belong to?
  • h

    hinst

    10/07/2020, 10:04 PM
    🤔
  • v

    vinny2020

    12/07/2020, 11:11 PM
    Is there a way to read a file from a resource instead of using File(absolutePath) in a simple script ?
  • v

    vinny2020

    12/07/2020, 11:12 PM
    simple as in the consoleApp template creates
    Copy code
    fun main(args: Array<String>) { }
  • v

    vinny2020

    12/07/2020, 11:13 PM
    I saw SP answers about using
    Copy code
    this::class.java.getResource()
  • v

    vinny2020

    12/07/2020, 11:13 PM
    but that is for classes
  • v

    vinny2020

    12/07/2020, 11:13 PM
    which begs the question, what are kotlin scripts if they are not classes ?
  • b

    Brian Donovan

    09/17/2021, 4:49 PM
    I see android uses Jetpack navigation now but what was the major benefits of using FragmentManager? TIA