Exemplo n.º 1
0
 @Override
 public boolean onOptionsItemSelected(MenuItem item) {
   if (item.getItemId() == R.id.action_new_header) {
     if (mAdapter != null) {
       mAdapter.add(new QueryEntry());
       onConnectionChanged();
     }
     return true;
   }
   return super.onOptionsItemSelected(item);
 }
Exemplo n.º 2
0
 @Override
 protected void populateConnectionInfo(Connection connection) {
   Ln.i("Populating Connection Info on ParamsFragment");
   mAdapter.setHeaders(connection.getQuery());
 }