File tree Expand file tree Collapse file tree
multitypeadapter/src/main/java/cn/junhua/android/adapter Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ public class MultiTypeAdapter extends RecyclerView.Adapter<RecyclerView.ViewHold
2222 //region filed
2323
2424 // data res
25- private List <? > mList ;
25+ private List <Object > mList ;
2626 private LayoutInflater mLayoutInflater ;
2727
2828 // save ItemViewBinder
@@ -87,7 +87,7 @@ public <T> OneToManyMapper<T> register(@NonNull Class<T> beanClass) {
8787 * @return List
8888 */
8989 @ NonNull
90- public List <? > getList () {
90+ public List <Object > getList () {
9191 return mList ;
9292 }
9393
@@ -96,7 +96,7 @@ public List<?> getList() {
9696 *
9797 * @param list {@link List}
9898 */
99- public void setList (@ Nullable List <? > list ) {
99+ public void setList (@ Nullable List <Object > list ) {
100100 mList .clear ();
101101 if (list == null ) {
102102 mList = Collections .emptyList ();
You can’t perform that action at this time.
0 commit comments