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); }
// @Override public final Object var(String name) { return var(Members.id(name)); }
// @Override public final boolean delete(String name) { return delete(Members.id(name)); }
// @Override public Boolean hasOwnProperty(Object propname) { return has(Members.id(Js.toString(propname))); }
// @Override public final <T> T var(String name, T value) { return var(Members.id(name), value); }