title: How to translate callbacks to kotlin
body: <p>I need to make this request with Kotlin:</p>
  
  <pre><code>One one = One.getInstance(getApplicationContext());
  one.sendInteraction("/interactionName", new GetCallback&lt;ResponseObject&gt;() {
  
      public void done(ResponseObject response, ThunderheadException e) {
          if (e == null) {
               // Success!
              one.processResponse(response);
          } else {
              // Failure!
          }
      }
  });
  </code></pre>
  
  <p>When I try to convert on Android Studio translator the code not fit well. I am a newbie with Kotlin, I tried some ways but always fail.
  My problem it's with callback method</p>
  
  <pre><code>new GetCallback&lt;ResponseObject&gt;() { public void done(ResponseObject response, ThunderHeadException e){...}}`
  </code></pre>
  
  <p>Could you help me to find the way to do it in Kotlin?</p>