Android Open Source - hacktoolkit-android_lib Contacts Fragment






From Project

Back to project page hacktoolkit-android_lib.

License

The source code is released under:

MIT License

If you think the Android project hacktoolkit-android_lib 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.hacktoolkit.android.fragments;
/*from  w w  w  . jav  a 2 s.c  o m*/
import java.util.ArrayList;

import android.os.Bundle;
import android.support.v4.app.Fragment;

import com.hacktoolkit.android.adapters.HTKContactsAdapter;
import com.hacktoolkit.android.models.HTKContact;

public class ContactsFragment extends Fragment {
  private   ArrayList<HTKContact> contacts;
  private HTKContactsAdapter adapter;
  private boolean started;

  public ContactsFragment() {
    this.contacts = new ArrayList<HTKContact>();
    this.started = false;
  }

  @Override
  public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setRetainInstance(true);
  }

  public void setAdapter(HTKContactsAdapter adapter) {
    this.adapter = adapter;
  }

  public HTKContactsAdapter getAdapter() {
    return this.adapter;
  }

  public void setContacts(ArrayList<HTKContact> contacts) {
    this.contacts = contacts;
  }

  public ArrayList<HTKContact> getContacts() {
    return this.contacts;
  }

  public void startRetrieving() {
    this.started = true;
  }

  public boolean hasStarted() {
    return this.started;
  }
}




Java Source Code List

com.hacktoolkit.android.activities.HTKSplashScreenActivity.java
com.hacktoolkit.android.adapters.HTKContactsAdapter.java
com.hacktoolkit.android.api_helpers.FacebookHelper.java
com.hacktoolkit.android.api_helpers.HTKCallback.java
com.hacktoolkit.android.api_helpers.ParseHelper.java
com.hacktoolkit.android.constants.GeoConstants.java
com.hacktoolkit.android.constants.StringConstants.java
com.hacktoolkit.android.constants.TimeConstants.java
com.hacktoolkit.android.constants.UnitConstants.java
com.hacktoolkit.android.fragments.ContactsFragment.java
com.hacktoolkit.android.maps.MapUtils.java
com.hacktoolkit.android.maps.Mapper.java
com.hacktoolkit.android.models.HTKContact.java
com.hacktoolkit.android.user.HTKUser.java
com.hacktoolkit.android.utils.BitmapUtils.java
com.hacktoolkit.android.utils.ContactsUtils.java
com.hacktoolkit.android.utils.FileUtils.java
com.hacktoolkit.android.utils.HTKUtils.java
com.hacktoolkit.android.utils.SystemUiHiderBase.java
com.hacktoolkit.android.utils.SystemUiHiderHoneycomb.java
com.hacktoolkit.android.utils.SystemUiHider.java