StackView Widget示例程序(WidgetItem.java)

来源:互联网 发布:科比2012赛季数据 编辑:程序博客网 时间:2024/05/20 05:47
WidgetItem.java文件
原文地址:http://developer.android.com/resources/samples/StackWidget/src/com/example/android/stackwidget/WidgetItem.html
The file containing the source code shown below is located in the corresponding directory in <sdk>/samples/android-<version>/...
/* * Copyright (C) 2011 The Android Open Source Project * * 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.example.android.stackwidget;public class WidgetItem {    public String text;    public WidgetItem(String text) {        this.text = text;    }}
原创粉丝点击