Beispiel #1
0
 public int getAvgAge() {
   int ageCount = 0;
   for (Members m : team) {
     ageCount += m.getAge();
   }
   return ageCount / team.size();
 }
 protected void onPostExecute(String result) {
   super.onPostExecute(result);
   pd.hide();
   pd.dismiss();
   adapter = new CommNewsAdapter(CommunityNew.this, Memberslist);
   Members.setAdapter(adapter);
   getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_HIDDEN);
 }
Beispiel #3
0
 // @Override
 public final Object var(String name) {
   return var(Members.id(name));
 }
Beispiel #4
0
 // @Override
 public final boolean delete(String name) {
   return delete(Members.id(name));
 }
Beispiel #5
0
 // @Override
 public Boolean hasOwnProperty(Object propname) {
   return has(Members.id(Js.toString(propname)));
 }
Beispiel #6
0
 // @Override
 public final <T> T var(String name, T value) {
   return var(Members.id(name), value);
 }