Skip to content

Instantly share code, notes, and snippets.

View rebeccanesson's full-sized avatar

Rebecca Nesson rebeccanesson

View GitHub Profile
alert("Hello World!");

Keybase proof

I hereby claim:

  • I am rebeccanesson on github.
  • I am rebeccanesson (https://keybase.io/rebeccanesson) on keybase.
  • I have a public key whose fingerprint is 74FA 02FC 4687 ABCA A342 A720 8BD3 6F7B B3E6 1106

To claim this, I am signing this object:

@rebeccanesson
rebeccanesson / gist:3745059
Created September 18, 2012 18:55
list fragment that is not working
public class EpisodeListFragment extends Fragment implements LoaderCallbacks<Cursor> {
SimpleCursorAdapter adapter;
ListView lv;
@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
lv = new ListView(this.getActivity());
lv.setLayoutParams(new LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.MATCH_PARENT));
adapter = new SimpleCursorAdapter(this.getActivity().getApplicationContext(),