Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
*/
public class RecyclerViewUtils {

private RecyclerViewUtils() throws InstantiationException{
throw new InstantiationException("This class is not meant to be instantiated");
}
/**
* 设置HeaderView
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
*/
public class NetworkUtils {

private NetworkUtils() throws InstantiationException{
throw new InstantiationException("This class is not meant to instantiated");
}
/**
* 判断是不是wifi网络状态
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,11 @@
*
* RecyclerView一共有几种State:Normal/Loading/Error/TheEnd
*/
public class RecyclerViewStateUtils {
public final class RecyclerViewStateUtils {

private RecyclerViewStateUtils() throws InstantiationException{
throw new InstantiationException("This class is not meant to be instantiated");
}
/**
* 设置headerAndFooterAdapter的FooterView State
*
Expand Down