public static void onActivityCreateSetStyle(ViewGroup viewGroup) {
Log.d(tag, "onActivityCreateSetStyle");
if (mButtonStyle != 0) {
List
这是上面用到的StyleBean
import java.util.List;
/**
* Style element bean
*
* @author Administrator
*
*/
@SuppressWarnings("rawtypes")
public class StyleBean {
private String name;
/**
* the method name associated with the attribute
*/
private List methodNames;
/**
* the class associated with the attribute
*/
private List typeClasses;
/**
* the value associated with the attribute
*/
private List
Android中的Toast是一种简易的消息提示框,toast提示框不能被用户点击,toast会根据用户设置的显示时间后自动消失。
创建Toast
两个方法创建Toast
makeText(Context context, int resId, int duration)
参数:context是toast显示在
angular.identiy 描述: 返回它第一参数的函数. 此函数多用于函数是编程. 使用方法: angular.identity(value); 参数详解: Param Type Details value
*
to be returned. 返回值: 传入的value 实例代码:
<!DOCTYPE HTML>
Hierarchical Queries
If a table contains hierarchical data, then you can select rows in a hierarchical order using the hierarchical query clause:
hierarchical_query_clause::=
start with condi
初次接触到socket网络编程,也参考了网络上众前辈的文章。尝试自己也写了一下,记录下过程吧:
服务端:(接收客户端消息并把它们打印出来)
public class SocketServer {
private List<Socket> socketList = new ArrayList<Socket>();
public s