Created
August 4, 2017 04:49
-
-
Save Bruno125/1f8c86ebaf43265bec2a9e24c334eab6 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.example.pack.two | |
// some imports | |
import com.example.pack.one.MyClass | |
class MainActivity : AppCompatActivity() { | |
override fun onCreate(savedInstanceState: Bundle?) { | |
super.onCreate(savedInstanceState) | |
setContentView(R.layout.activity_main) | |
val myClass = MyClass() | |
myClass.setListener { | |
//do something | |
} | |
myClass.run() | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment