Skip to content
View yushaojian13's full-sized avatar

Block or report yushaojian13

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned Loading

  1. A task to download and save image to... A task to download and save image to SD card with Glide
    1
    public class ImageSaveTask extends AsyncTask<String, Void, Void> {
    2
        private Context context;
    3
    
                  
    4
        public ImageSaveTask(Context context) {
    5
            this.context = context;
  2. Log Log Public

    一个更简单的Log

    Java 3

  3. RecyclerViewLoadMore RecyclerViewLoadMore Public

    pull up to load more, show a message if no more, pull down to refresh

    Java 1

  4. A bitmap util that scale source bitm... A bitmap util that scale source bitmap to specific size with aspect ratio remained, alpha pixels filled on one dimension if need
    1
    public class BitmapUtils {
    2
    
                  
    3
        /**
    4
         * scale source bitmap to specific width and height remaining the aspect ratio.
    5
         * If source bitmap aspect ratio is not the same with target ((float) dstWidth / dstHeight),