Ejemplo n.º 1
0
 @Override
 public void onClick(View v) {
   int count = 0;
   ArrayList<String> list = new ArrayList<String>();
   TimeLog.startTime(TAG, "1000次循环", true);
   for (int i = 0; i < 1000; i++) {
     list.add("couont" + count++);
     MLog.verbose(TAG, "discoveryResult  count = " + count++);
   }
   TimeLog.stopTime(TAG, list.size() + "  1000次循环", true);
   SecondActivity.startSecondActivity(this, "http://wwww.baidu.com");
 }
Ejemplo n.º 2
0
 @CoreEvent(coreClientClass = IDiscoveryClient.class)
 public void discoveryResult(int result) {
   MLog.verbose(TAG, "discoveryResult  result = " + result);
 }