• 大小: 0.69M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-02-01
  • 标签: 列表拖动  

资源简介

列表拖动

资源截图

代码片段和文件信息

package com.mobeta.android.demodslv;

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

import com.mobeta.android.dslv.DragSortListView;
import com.mobeta.android.dslv.DragSortController;

import android.app.ListActivity;
import android.os.Bundle;
import android.widget.ArrayAdapter;
import android.widget.TextView;
import android.widget.ListView;
import android.view.View;
import android.view.ViewGroup;


public class ArbItemSizeDSLV extends ListActivity {

    private JazzAdapter adapter;

    private ArrayList mArtists;

    private String[] mArtistNames;
    private String[] mArtistAlbums;

    private DragSortListView.DropListener ondrop =
        new DragSortListView.DropListener() {
            @Override
            public void drop(int from int to) {
                Jaz

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2013-04-23 23:26  drag-sort-listview-master\
     文件         254  2013-04-23 23:26  drag-sort-listview-master\.gitignore
     文件         758  2013-04-23 23:26  drag-sort-listview-master\CHANGELOG.md
     文件       19279  2013-04-23 23:26  drag-sort-listview-master\README.md
     目录           0  2013-04-23 23:26  drag-sort-listview-master\demo\
     文件         231  2013-04-23 23:26  drag-sort-listview-master\demo\.gitignore
     文件        1674  2013-04-23 23:26  drag-sort-listview-master\demo\AndroidManifest.xml
     文件         697  2013-04-23 23:26  drag-sort-listview-master\demo\ant.properties
     文件        1345  2013-04-23 23:26  drag-sort-listview-master\demo\app-description.txt
     文件        3499  2013-04-23 23:26  drag-sort-listview-master\demo\build.xml
     目录           0  2013-04-23 23:26  drag-sort-listview-master\demo\libs\
     文件      349252  2013-04-23 23:26  drag-sort-listview-master\demo\libs\android-support-v4.jar
     文件        2200  2013-04-23 23:26  drag-sort-listview-master\demo\pom.xml
     文件         781  2013-04-23 23:26  drag-sort-listview-master\demo\proguard-project.txt
     文件         603  2013-04-23 23:26  drag-sort-listview-master\demo\project.properties
     目录           0  2013-04-23 23:26  drag-sort-listview-master\demo\res\
     目录           0  2013-04-23 23:26  drag-sort-listview-master\demo\res\drawable-hdpi\
     文件        2776  2013-04-23 23:26  drag-sort-listview-master\demo\res\drawable-hdpi\delete_x.png
     文件         935  2013-04-23 23:26  drag-sort-listview-master\demo\res\drawable-hdpi\drag.9.png
     文件        1983  2013-04-23 23:26  drag-sort-listview-master\demo\res\drawable-hdpi\dslv_launcher.png
     目录           0  2013-04-23 23:26  drag-sort-listview-master\demo\res\drawable-ldpi\
     文件        1107  2013-04-23 23:26  drag-sort-listview-master\demo\res\drawable-ldpi\dslv_launcher.png
     目录           0  2013-04-23 23:26  drag-sort-listview-master\demo\res\drawable-mdpi\
     文件         640  2013-04-23 23:26  drag-sort-listview-master\demo\res\drawable-mdpi\drag.9.png
     文件        1361  2013-04-23 23:26  drag-sort-listview-master\demo\res\drawable-mdpi\dslv_launcher.png
     目录           0  2013-04-23 23:26  drag-sort-listview-master\demo\res\drawable-xhdpi\
     文件        2476  2013-04-23 23:26  drag-sort-listview-master\demo\res\drawable-xhdpi\dslv_launcher.png
     目录           0  2013-04-23 23:26  drag-sort-listview-master\demo\res\drawable\
     文件         228  2013-04-23 23:26  drag-sort-listview-master\demo\res\drawable\bg_handle.xml
     文件         228  2013-04-23 23:26  drag-sort-listview-master\demo\res\drawable\bg_handle_section1.xml
     文件         363  2013-04-23 23:26  drag-sort-listview-master\demo\res\drawable\bg_handle_section1_selector.xml
............此处省略85个文件信息

评论

共有 条评论

相关资源