Skip to content

Instantly share code, notes, and snippets.

View AbdulRehmanNazar's full-sized avatar
🏠
Working from home

Abdul Rehman Nazar AbdulRehmanNazar

🏠
Working from home
View GitHub Profile
@AbdulRehmanNazar
AbdulRehmanNazar / MainActivity.java
Last active January 20, 2017 15:08
ListView Sample Gist
package com.gist.listview;
import android.os.Bundle;
import android.app.Activity;
import android.view.Menu;
import android.view.View;
import android.widget.AdapterView;
import android.widget.ArrayAdapter;
import android.widget.ListView;
import android.widget.Toast;
@AbdulRehmanNazar
AbdulRehmanNazar / MainActivity.java
Created January 20, 2017 15:04
Open Facebook Page with Android Sample Gist Code
package facebook.page.test;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.net.Uri;
import android.support.v7.app.ActionBarActivity;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;