Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

adapting client code example  RSS feed

 
Bob Matthews
Ranch Hand
Posts: 136
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I have the following example code.................



How do I incorporate this code into an existing program which does a whole lot of stuff before I need to send a message ?

Bob M
 
A.J. Côté
Ranch Hand
Posts: 417
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just copy and paste the code from line 11 to 27 inclusively and import the relevant classes in your code.
 
Bob Matthews
Ranch Hand
Posts: 136
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you A J

So simple

Bob M
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!