Back to project page GoCats.
The source code is released under:
Apache License
If you think the Android project GoCats listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package org.collegelabs.gocats.app; //from w w w . j a va 2 s . c o m import android.app.Activity; import android.os.Bundle; import butterknife.ButterKnife; /** * Used for testing small bits of code (like finding memory leaks) */ public class SampleActivity extends Activity { private CatView view; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); view = new CatView(this); setContentView(view); String squareImg = "http://i.imgur.com/aZaFne4.jpg"; String rectImg = "http://i.imgur.com/0Regu2A.jpg"; view.setMetaData(new ImageMetaData(squareImg, "Hi", "Test", "nope", "id")); } @Override protected void onStop() { super.onStop(); view.RemoveCallback(); } }