Android Open Source - memBitmapTest Main Activity






From Project

Back to project page memBitmapTest.

License

The source code is released under:

GNU General Public License

If you think the Android project memBitmapTest listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.example.membmptest;
/*from ww  w  .  j a  va  2  s. com*/
import java.util.ArrayList;

import android.os.Bundle;

public class MainActivity extends BaseMemoryActivity {

  @Override
  protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    
    if (!setDrawablesAfter) {
      setContentView(R.layout.activity_main);
    }    
  }

  

  @Override
  protected Class<?> getNewClass() {
    return MainActivityFork.class;
  }

  @Override
  protected ArrayList<Integer> getImageResourceIds() {
    ArrayList<Integer> ids = new ArrayList<Integer>();
    ids.add(R.drawable.car);
    ids.add(R.drawable.assasins);
    return ids;
  }
}




Java Source Code List

com.example.membmptest.BaseMemoryActivity.java
com.example.membmptest.MainActivityFork.java
com.example.membmptest.MainActivity.java
com.example.membmptest.MainApplication.java
com.example.membmptest.StartActivity.java
com.example.membmptest.TestLog.java