Android Open Source - SwipeListView Main Activity






From Project

Back to project page SwipeListView.

License

The source code is released under:

Apache License

If you think the Android project SwipeListView 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 be.drizzlyday.swipe.listview.sample.app;
/*from w ww  .j  ava2s .  c  o  m*/
import android.app.Activity;
import android.os.Bundle;

import java.util.ArrayList;
import java.util.List;

import be.drizzlyday.swipe.listview.SwipeListView;
import be.drizzlyday.swipe.listview.sample.app.adapters.ContentAdapter;
import be.drizzlyday.swipe.listview.sample.app.data.ContentData;
import be.drizzlyday.swipe.listview.sample.app.models.ContentModel;

public class MainActivity extends Activity {

    private SwipeListView listView;
    private ContentAdapter adapter;
    private List<ContentModel> content = new ArrayList<ContentModel>();

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

        content = ContentData.CreateData();

        listView = (SwipeListView) findViewById(R.id.lv_content);

        adapter = new ContentAdapter(this, R.layout.row_content, content);;
        listView.setAdapter(adapter);
    }
}




Java Source Code List

be.drizzlyday.swipe.listview.SwipeListView.java
be.drizzlyday.swipe.listview.sample.app.MainActivity.java
be.drizzlyday.swipe.listview.sample.app.adapters.ContentAdapter.java
be.drizzlyday.swipe.listview.sample.app.data.ContentData.java
be.drizzlyday.swipe.listview.sample.app.models.ContentModel.java
com.nineoldandroids.animation.AnimatorInflater.java
com.nineoldandroids.animation.AnimatorListenerAdapter.java
com.nineoldandroids.animation.AnimatorSet.java
com.nineoldandroids.animation.Animator.java
com.nineoldandroids.animation.ArgbEvaluator.java
com.nineoldandroids.animation.FloatEvaluator.java
com.nineoldandroids.animation.FloatKeyframeSet.java
com.nineoldandroids.animation.IntEvaluator.java
com.nineoldandroids.animation.IntKeyframeSet.java
com.nineoldandroids.animation.KeyframeSet.java
com.nineoldandroids.animation.Keyframe.java
com.nineoldandroids.animation.ObjectAnimator.java
com.nineoldandroids.animation.PreHoneycombCompat.java
com.nineoldandroids.animation.PropertyValuesHolder.java
com.nineoldandroids.animation.TimeAnimator.java
com.nineoldandroids.animation.TypeEvaluator.java
com.nineoldandroids.animation.ValueAnimator.java
com.nineoldandroids.util.FloatProperty.java
com.nineoldandroids.util.IntProperty.java
com.nineoldandroids.util.NoSuchPropertyException.java
com.nineoldandroids.util.Property.java
com.nineoldandroids.util.ReflectiveProperty.java
com.nineoldandroids.view.ViewHelper.java
com.nineoldandroids.view.ViewPropertyAnimatorHC.java
com.nineoldandroids.view.ViewPropertyAnimatorICS.java
com.nineoldandroids.view.ViewPropertyAnimatorPreHC.java
com.nineoldandroids.view.ViewPropertyAnimator.java
com.nineoldandroids.view.animation.AnimatorProxy.java