This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
1. create a new NestedScrollView | |
2. add it to recyclerview's parent | |
3. remove recyclerview from its parent "it's important to add it to a new parent" | |
4. add recyclerview to nestedscrollview | |
5. take screenshot of nestedscrollview | |
6. add recyclerview to its main parent. | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package ua.youtv.testapp; | |
import android.app.Activity; | |
import android.content.BroadcastReceiver; | |
import android.content.Context; | |
import android.content.Intent; | |
import android.content.IntentFilter; | |
import android.util.Log; | |
import static android.media.AudioManager.ACTION_HDMI_AUDIO_PLUG; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.djhs16.location; | |
import android.app.Activity; | |
import android.app.AlertDialog; | |
import android.content.BroadcastReceiver; | |
import android.content.Context; | |
import android.content.DialogInterface; | |
import android.content.Intent; | |
import android.content.IntentFilter; | |
import android.location.Location; |