@Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.plaza_nearby_activity); setBackView(R.id.back_view, "附近的人"); setTitleRight( "筛选", new View.OnClickListener() { @Override public void onClick(View v) { showFilter(); } }); initView(); ModuleMgr.getDiscoverMgr().reqSecAdjacent(gender, null, 1, NearbyActivity.this); }
@Override protected void onCreate(Bundle savedInstanceState) { isCanBack(false); super.onCreate(savedInstanceState); setContentView(R.layout.sample_activity); textSurface = (TextSurface) findViewById(R.id.text_surface); textSurface.postDelayed( new Runnable() { @Override public void run() { show(); } }, 1000); findViewById(R.id.btn_refresh) .setOnClickListener( new View.OnClickListener() { @Override public void onClick(View v) { show(); } }); }