Skip to content

Instantly share code, notes, and snippets.

@pfn
Created November 23, 2015 19:19
Show Gist options
  • Save pfn/59ffcd0783b61ceaafcc to your computer and use it in GitHub Desktop.
Save pfn/59ffcd0783b61ceaafcc to your computer and use it in GitHub Desktop.
iota strangeness
IO.apply({
val iota$generatedContainer$1 = iota.IO.apply[android.widget.FrameLayout](new android.widget.FrameLayout(this)).perform.apply();
Seq.apply(iota.IO.apply[android.view.View](new android.view.View(this))).foreach(((iov) => {
val iota$generatedView = iov.perform.apply();
if (iota$generatedView.getParent().$bang$eq(null))
iota$generatedView.getParent().asInstanceOf[ViewGroup].removeView(iota$generatedView)
else
();
iota$generatedContainer$1.addView(iota$generatedView)
}));
iota$generatedContainer$1
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment