Android Open Source - NoiseBridge_General List View Fragment






From Project

Back to project page NoiseBridge_General.

License

The source code is released under:

GPLv3.txt

If you think the Android project NoiseBridge_General listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.noysbrij.fragments;
import android.os.*;
import android.support.v4.app.*;
import android.util.*;
import android.view.*;
import android.widget.*;
import com.noysbrij.noisebridgeGeneral.*;
import com.noysbrij.noisebridgeGeneral.TicketsExpandableListAdapter;
// w w  w. ja  v  a2  s  .co  m
public class ListViewFragment extends Fragment
{
  public String ARG_URI = "listId";
//  SparseArray<Group> groups = new SparseArray<Group>();
  
  @Override
  public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
  {
    View view = inflater.inflate(
      R.layout.layout_tickets, container, false);
//    Bundle args = getArguments();
    // More efficient than HashMap for mapping integers to objects
//    createData();
//    ExpandableListView listView = (ExpandableListView) findViewById(R.id.list_view);
//      TicketsExpandableListAdapter adapter = new TicketsExpandableListAdapter(this, groups);
//    listView.setAdapter(adapter);
//  }
//  
//
//  public void createData() {
//    for (int j = 0; j < 5; j++) {
//      Group group = new Group("Test " + j);
//      for (int i = 0; i < 5; i++) {
//        group.children.add("Sub Item" + i);
//      }
//      groups.append(j, group);
//    }
//  }
  
    
    
    
//    try
//    {
////        displayTickets();
//      //problem with static contest 
//      //but webview works
//      //    Log.e(TAG, "Debug #1");
//      //    Log.i(TAG, "ticketsListView2: "+ticketsListView.toString());
//      //  textId.setText(R.string.textIdLabel + "" + result.profileId.get(Integer.parseInt(enterId.getText().toString())).matches.get(5).score);
//    }
//    catch (NumberFormatException e)
//    {
//      //    Log.i(TAG, "Debug #5");
//      //  Toast.makeText(this, R.string.bad_int, Toast.LENGTH_SHORT).show();
//    }
//
  return view;
  }
}




Java Source Code List

com.loopj.android.http.AsyncHttpClient.java
com.loopj.android.http.AsyncHttpRequest.java
com.loopj.android.http.AsyncHttpResponseHandler.java
com.loopj.android.http.BinaryHttpResponseHandler.java
com.loopj.android.http.JsonHttpResponseHandler.java
com.loopj.android.http.PersistentCookieStore.java
com.loopj.android.http.RequestParams.java
com.loopj.android.http.RetryHandler.java
com.loopj.android.http.SerializableCookie.java
com.loopj.android.http.SimpleMultipartEntity.java
com.loopj.android.http.SyncHttpClient.java
com.metamage.noisegate.Completion.java
com.metamage.noisegate.Data.java
com.metamage.noisegate.F.java
com.metamage.noisegate.GetAndDiscardUrlTask.java
com.metamage.noisegate.Key.java
com.metamage.noisegate.Noisegate.java
com.metamage.noisegate.Teletype.java
com.noysbrij.fragments.DatePickerFragment.java
com.noysbrij.fragments.JSInterface.java
com.noysbrij.fragments.ListViewFragment.java
com.noysbrij.fragments.NBWebViewFragment.java
com.noysbrij.fragments.TicketsArrayAdapter.java
com.noysbrij.fragments.TimePickerFragment.java
com.noysbrij.noisebridgeGeneral.NoiseBridgeGeneral.java
com.noysbrij.noisebridgeGeneral.ReadJson.java
com.noysbrij.noisebridgeGeneral.Ticket.java
com.noysbrij.noisebridgeGeneral.TicketsExpandableListAdapter.java
com.noysbrij.noisebridgeGeneral.Tickets.java