Skip to content

Commit

Permalink
opt
Browse files Browse the repository at this point in the history
  • Loading branch information
heaven7 committed Jul 10, 2020
1 parent 020e439 commit 4ea93ab
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;

import androidx.recyclerview.widget.RecyclerView;

Expand Down Expand Up @@ -325,5 +326,12 @@ interface ViewDelegate{
* @return the view
*/
View getView();

/**
* get the image view
* @return the image view
* @since 1.1.8
*/
ImageView getImageView();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,16 @@ public View getRefreshView() {
public View getReloadView() {
return mTv_Reload;
}

@Override
public View getView() {
return mView;
}

@Override
public ImageView getImageView() {
return mIv_notice;
}
}

private static class EmptyDelegateImpl implements ViewDelegate{
Expand Down Expand Up @@ -236,5 +246,14 @@ public View getRefreshView() {
public View getReloadView() {
return mTv_Reload;
}

@Override
public View getView() {
return mView;
}
@Override
public ImageView getImageView() {
return mIv_notice;
}
}
}

0 comments on commit 4ea93ab

Please sign in to comment.