?? ?? ?? ?? ?? ?? list.add(info);
?? ?? ?? ?? }
?? ?? ?? ?? mDatas.addAll(list);
?? ?? ?? ?? adapter.notifyDataSetChanged();
?? ?? }
?? ?? @Override
?? ?? protected void onDestroy() {
?? ?? ?? ?? super.onDestroy();
?? ?? ?? ?? adapter.destoryPlayer();
?? ?? }
}
LocalVideoInfo
public class LocalVideoInfo {
?? ?? private String name;
?? ?? private String path;
?? ?? private long duration;
?? ?? private long size;
?? ?? @Override
?? ?? public String toString() {
?? ?? ?? ?? return "LocalVideoInfo{" +
?? ?? ?? ?? ?? ?? ?? ?? "name='" + name + '\'' +
?? ?? ?? ?? ?? ?? ?? ?? ", path='" + path + '\'' +
?? ?? ?? ?? ?? ?? ?? ?? ", duration=" + duration +
?? ?? ?? ?? ?? ?? ?? ?? ", size=" + size +
?? ?? ?? ?? ?? ?? ?? ?? '}';
?? ?? }
?? ?? public LocalVideoInfo() {
?? ?? }
?? ?? public LocalVideoInfo(String name, String path, long duration, long size) {
?? ?? ?? ?? this.name = name;
?? ?? ?? ?? this.path = path;
?? ?? ?? ?? this.duration = duration;
?? ?? ?? ?? this.size = size;
?? ?? }
?? ?? public String getName() {
?? ?? ?? ?? return name;
?? ?? }
?? ?? public void setName(String name) {
?? ?? ?? ?? this.name = name;
?? ?? }
?? ?? public String getPath() {
?? ?? ?? ?? return path;
?? ?? }
?? ?? public void setPath(String path) {
?? ?? ?? ?? this.path = path;
?? ?? }
?? ?? public long getDuration() {
?? ?? ?? ?? return duration;
?? ?? }
?? ?? public void setDuration(long duration) {
?? ?? ?? ?? this.duration = duration;
?? ?? }
?? ?? public long getSize() {
?? ?? ?? ?? return size;
本文来自电脑杂谈,转载请注明本文网址:
http://www.pc-fly.com/a/bofangqi/article-54866-4.html
就是和韩国都没得比
军事上虽说他有绝对优势但中国滑的像个泥鳅不给他动粗的正当理由
所谓“日本潜艇强于中国”的说法完全是无稽之谈