daily pastebin goal
26%
SHARE
TWEET

Untitled

a guest Feb 13th, 2018 72 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
  1. interface Listener
  2.  
  3. fun <T> generic(b: T) where T : Fragment, T : Listener {
  4.  
  5. }
  6.  
  7.  
  8. val target = Fragment()
  9. val listener = target as Listener
  10. generic(listener) // <-- listener but not fragment
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top