title: How to install anything from github
body: <p>I am trying to install this from github into my android aplication, but I don't know how I have to do it.</p>
  
  <p>I am trying install this: </p>
  
  <p><a href="https://github.com/Maxwin-z/XListView-Android" rel="nofollow">https://github.com/Maxwin-z/XListView-Android</a></p>
  
  <p>thanks</p>
  
  <p>EDIT=========================</p>
  
  <p>MainActivity.java</p>
  
  <pre><code>import me.maxwin.view.XListView;
  import me.maxwin.view.XListView.IXListViewListener;
  import android.os.Bundle;
  import android.os.Handler;
  import android.app.Activity;
  import android.view.Menu;
  import android.view.View;
  import android.widget.AdapterView;
  import android.widget.AdapterView.OnItemClickListener;
  import android.widget.ArrayAdapter;
  import android.widget.ListView;
  import android.widget.TextView;
  import android.widget.Toast;
  
  
  public class MainActivity extends Activity implements IXListViewListener {
  XListView lv1;
  private ArrayAdapter&lt;String&gt; mAdapter;
  private String[] sistemas = {"Ubuntu", "Android", "iOS", "Windows", "Mac OSX", 
          "Google Chrome OS", "Debian", "Mandriva", "Solaris", "Unix"};
  @Override
  protected void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.activity_main);
      lv1=(XListView)findViewById(R.id.xListView);
      lv1.setPullLoadEnable(true);
      mAdapter = new ArrayAdapter&lt;String&gt;(this, android.R.layout.simple_list_item_1, sistemas);
      lv1.setAdapter(mAdapter);
  
  }
  @Override
  public void onRefresh() {
      // TODO Auto-generated method stub
  
  }
  @Override
  public void onLoadMore() {
      // TODO Auto-generated method stub
  
  }
  
  
  }
  </code></pre>
  
  <p>Xml</p>
  
  <pre><code>&lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  xmlns:tools="http://schemas.android.com/tools"
  android:layout_width="match_parent"
  android:layout_height="match_parent"
  android:paddingBottom="@dimen/activity_vertical_margin"
  android:paddingLeft="@dimen/activity_horizontal_margin"
  android:paddingRight="@dimen/activity_horizontal_margin"
  android:paddingTop="@dimen/activity_vertical_margin"
  tools:context=".MainActivity" &gt;
  
  &lt;me.maxwin.view.XListView 
      android:id="@+id/xListView" 
      android:layout_width="fill_parent"
      android:layout_height="fill_parent" 
      android:cacheColorHint="#00000000"&gt; 
      &lt;/me.maxwin.view.XListView&gt;
  
  &lt;/RelativeLayout&gt;
  </code></pre>