Пример #1
0
 @Override
 public long generateHeaderId(int position) {
   URLogs.d("position--" + position + "   " + getItem(position));
   if (getItem(position).getTitle().length() > 0) return getItem(position).getTitle().length();
   else return -1;
 }
Пример #2
0
 /**
  * @param message na
  * @param args na
  */
 public static void d(String message, Object... args) {
   if (sIsLogEnabled) {
     d(String.format(message, args));
   }
 }