- 3
Convert Java to Kotlin...
public void appActivate(View v){ Toast.makeText(this,"Activating",Toast.LENGTH_SHORT).show(); }
8 Respuestas
+ 4
I think your last formulation reveals the problem…
It should not be a query, but instead community members tend to help you the most, if you
a) show that you tried it yourself by explaining where it failed
b) probably post this “wrong” solution to your problem, so they can look at it and identify your missunderstanding/problem/…
It is also nice to start the question with an opening sentence like “hey i try this and this and cant wrap my head around that and that. I tried this and this, but it always throws an error in line xxx, here the code extract that throws the error: linkToCodePlayground”
And downvoting others and upvoting oneselve probably did not help either to make others help you
+ 3
I never said homework. I said "work" which can include personal projects. You can also clearly see from my profile that I comfortable the most in Kotlin and Android Development. I am just telling you how to use the Q&A section correctly. This isnt a challenge section either if you've already done so yourself. There is no need for this post unless you need help or assistance.
Please see below links for how to properly use this section of the app:
https://www.sololearn.com/Discuss/3021159/?ref=app
+ 2
What is your question?
+ 2
That's not a question. That's a demand/statement. This is a Question and Answer section, not a do my work for me section.
If you need specific syntax help, you can google the "Toasts in Kotlin".
0
First of all its not my homework, I've already googled it, I'm currently watching Android development tutorial but tutorial is using Java and I've to write same code in kotlin. Btw, if you don't know you may leave.
Thank you for your time 🙂
0
Justice & Jay Matthews
I'm extremely SORRY if I hurted you both, I'm back on Sololearn after a long long time... Maybe I don't know how to ask my queries properly in this community...
- 1
Convert following code to kotlin