Android Open Source - android-image-management Custom Application






From Project

Back to project page android-image-management.

License

The source code is released under:

Apache License

If you think the Android project android-image-management 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

/*
 * android-image-management for Android//from   w w  w  . j  av a2  s .  c o m
 * Copyright (C) 2013 Laurence Dawson <contact@laurencedawson.com>
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.laurencedawson.image_management_sample;

import android.app.Application;

import com.laurencedawson.image_management.ImageManager;


public class CustomApplication extends Application {

  private ImageManager mImageManager;
  
  @Override
  public void onCreate() {
    super.onCreate();
    
    mImageManager = new ImageManager(getApplicationContext(),8,4);
  }
  
  public ImageManager getImageManager(){
    return mImageManager;
  }
  
}




Java Source Code List

com.laurencedawson.image_management.ImageListener.java
com.laurencedawson.image_management.ImageManager.java
com.laurencedawson.image_management.ImageRequest.java
com.laurencedawson.image_management.extras.SimpleImageView.java
com.laurencedawson.image_management_sample.CustomApplication.java
com.laurencedawson.image_management_sample.MainActivity.java