Hi. I'm having some problems with using listprefer...
# getting-started
s
Hi. I'm having some problems with using listpreference.setValue or setIndexValue. None of the methods that I need to alter the values of a listpreference programmatically doesn't seem to be available. My class extends Preferencefragmentcompat Thanks Stefan
🤖 2
t
Hi Stefan, this Slack community is dedicated to the Kotlin language, therefore we only answer questions that are related to Kotlin in some way. You can ask your question on StackOverflow or Android-United (https://android-united.slack.com) I case you have questions on using Kotlin on Android, feel free to ask on #android.
s
Hi Thibault. This is kotlin related, sorry I wasn't clear. Do you mean that you only answer native kotlin questions?
r
@Stefan It appears your question is about Android APIs (the fact that you are writing in Kotlin is only incidental to the question). If that is the case, you'd be better off asking either somewhere that focuses on android (such as the above mentioned Android United) or on Stack Overflow, depending on the nature of your question. If we misunderstood and your question is indeed Kotlin specific (not everyone here is an Android developer after all), that's just fine, but you'd probably be better off asking in a more topic related channel on this slack (e.g. #android).
s
@Ruckus Agreed, sorry to bother you, I'm new here on slack. I have asked both on stackoverflow and on #android, but no answer so far.
r
It's no bother at all, we were all new once 🙂 If you're ever unsure, just ask here or in #general, and people will usually direct you to the best place. The community here is generally pretty awesome.
s
@Ruckus I will do that. Thank you for your help.
👍 1
r
Also, if it's a StackOverflow question, you can also just post a link to the question and ask for people to check it out if they have the chance.
s
@Ruckus Yeah, thanks, that's a good idea