Android Open Source - memBitmapTest Main Activity Fork






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  w  ww  .j a va 2 s  .  com
import java.util.ArrayList;

import android.os.Bundle;

public class MainActivityFork extends BaseMemoryActivity {

  @Override
  protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);

    if (!setDrawablesAfter) {
      setContentView(R.layout.activity_main_fork);
    }
  }

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

  @Override
  protected ArrayList<Integer> getImageResourceIds() {
    ArrayList<Integer> ids = new ArrayList<Integer>();

    ids.add(R.drawable.landscape);
    ids.add(R.drawable.cityview);
    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