daily pastebin goal
10%
SHARE
TWEET

Untitled

a guest Jan 20th, 2019 71 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     @Override
  2.     public void onCreateContextMenu(ContextMenu menu, View v, ContextMenuInfo menuInfo) {
  3.         super.onCreateContextMenu(menu, v, menuInfo);
  4.         /*int pos = ((AdapterView.AdapterContextMenuInfo)menuInfo).position;
  5.         JSONObject discussion = ((DiscussionAdapter)((ListView) v).getAdapter()).getItem(pos);
  6.         if (new Date(discussion.optLong("closingDate")).before(new Date())) {
  7.             menu.getItem(0).setEnabled(false);
  8.         }*/
  9.     }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top