Created
December 1, 2017 01:16
-
-
Save javikin/9dce15b3c5b2da013a5acacbc991a164 to your computer and use it in GitHub Desktop.
This file contains 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
public class MainActivity extends Activity implements MyAdapter.CallBackItemList{ | |
... | |
@Override | |
protected void onCreate(Bundle savedInstanceState) { | |
super.onCreate(savedInstanceState); | |
... | |
mAdapter = new MyAdapter(myDataset, this); | |
... | |
} | |
@Override | |
public void onClickActionItemList() { | |
Toast.makeText(this, "Yellow Item", Toast.LENGTH_SHORT).show(); | |
} | |
@Override | |
public void onClickActionButtonItemList() { | |
Toast.makeText(this, "Yellow Button", Toast.LENGTH_SHORT).show(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment