Muennighoff/xP3x-sample huggingface dataset:
inputs: Given the following code:
Uri notification = RingtoneManager.getDefaultUri(RingtoneManager.TYPE_NOTIFICATION);
Ringtone r = RingtoneManager.getRingtone(getApplicationContext(), notification);
r.play();
Describe it:
targets: How to play ringtone/alarm sound in Android
inputs: Given the following code:
getWindow().getDecorView().setSystemUiVisibility(
  View.SYSTEM_UI_FLAG_LAYOUT_STABLE
| View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION
| View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN
| View.SYSTEM_UI_FLAG_HIDE_NAVIGATION
| View.SYSTEM_UI_FLAG_FULLSCREEN
| View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY);
Describe it:
targets: Using full screen Activity
inputs: Given the following code:
DefaultItemAnimator animator = new DefaultItemAnimator() {
        @Override
        public boolean canReuseUpdatedViewHolder(RecyclerView.ViewHolder viewHolder) {
            return true;
        }
    };
mRecyclerView.setItemAnimator(animator);
Describe it:
targets: RecyclerView.Adapter.notifyItemChanged() never passes payload to onBindViewHolder()
inputs: Description:
Redirect user to the Subscription page in the playstore

Implementation:
targets: Intent browserIntent = new Intent(Intent.ACTION_VIEW,
          Uri.parse("https://play.google.com/store/account"));
  startActivity(browserIntent);
inputs: Description:
Token null Sign-in Google Account

Implementation:
targets: GoogleSignInOptions gso = new GoogleSignInOptions.Builder(GoogleSignInOptions.DEFAULT_SIGN_IN)
                .requestIdToken(getString(R.string.default_web_client_id))
                .requestEmail()
                .build();
inputs: Description:
Moving from One activity to next in Android

Implementation:
targets: Intent goToNextActivity = new Intent(getApplicationContext(), YourNewClass.class);
startActivity(goToNextActivity);
inputs: Given the following code:
startActivityForResult(new Intent(android.provider.Settings.ACTION_SETTINGS), 0);
Describe it:
targets: Opening Android Settings programmatically
inputs: Description:
ArrayAdapter in android to create simple listview

Implementation:
targets: ArrayAdapter<String> adapter = new ArrayAdapter<String>(this,
        android.R.layout.simple_list_item_1, android.R.id.text1, values);
inputs: Description:
android webview stay in app

Implementation:
targets: public class myWebViewClient extends WebViewClient {
    @Override
    public boolean shouldOverrideUrlLoading(WebView view, String url) {
        view.loadUrl(url);
        return true;
    }
}
inputs: Given the following code:
getWindow().setFlags(WindowManager.LayoutParams.FLAG_ALT_FOCUSABLE_IM,
    WindowManager.LayoutParams.FLAG_ALT_FOCUSABLE_IM);
Describe it:
targets: Disable soft-keyboard from EditText but still allow copy/paste?
inputs: Given the following code:
void deleteRecursive(File fileOrDirectory) {
    if (fileOrDirectory.isDirectory())
        for (File child : fileOrDirectory.listFiles())
            deleteRecursive(child);

    fileOrDirectory.delete();
}
Describe it:
targets: How to delete a whole folder and content?
inputs: Description:
Opening webview not in new browser

Implementation:
targets: wv.setWebViewClient(new WebViewClient() {
public boolean shouldOverrideUrlLoading(WebView view, String url) {
          view.loadUrl(url);
          return true;
           }});
inputs: Given the following code:
this.mWebView.setWebViewClient(new WebViewClient(){

    @Override
    public boolean shouldOverrideUrlLoading(WebView view, String url){
      view.loadUrl(url);
      return true;
    }
});
Describe it:
targets: Android WebView click open within WebView not a default browser
inputs: Description:
Android: allow portrait and landscape for tablets, but force portrait on phone?

Implementation:
targets: if(getResources().getBoolean(R.bool.portrait_only)){
        setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT);
    }
inputs: Description:
Restore default actionbar layout

Implementation:
targets: getActivity().getActionBar().setDisplayOptions(
    ActionBar.DISPLAY_SHOW_HOME | ActionBar.DISPLAY_SHOW_TITLE);
inputs: Given the following code:
if (Build.VERSION.SDK_INT < 11) {
  final AlphaAnimation animation = new AlphaAnimation(alpha, alpha);
  animation.setDuration(duration);
  animation.setFillAfter(true);
  view.startAnimation(animation);
} else {
  view.setAlpha(alpha);
}

Describe it:
targets: How to set View alpha in lower Api than 11?
inputs: Description:
How to check if user is logged in with FB SDK 4.0 for Android?

Implementation:
targets: public boolean isLoggedIn() {
    AccessToken accessToken = AccessToken.getCurrentAccessToken();
    return accessToken != null;
}