Removed unused logger
This commit is contained in:
@@ -33,6 +33,10 @@ import de.sebse.fuplanner.tools.logging.Logger;
|
||||
* to handle interaction events.
|
||||
* Use the {@link ScheduleFragment#newInstance} factory method to
|
||||
* create an instance of this fragment.
|
||||
*
|
||||
* TODO Reduce day range to 6-20h as in https://stackoverflow.com/questions/35944431/filter-specific-range-of-hours-to-show-in-alamkanak-android-week-view
|
||||
*
|
||||
* TODO Scroll week wise (snap)
|
||||
*/
|
||||
public class ScheduleFragment extends Fragment implements WeekView.EventClickListener, MonthLoader.MonthChangeListener, WeekView.EventLongPressListener {
|
||||
private OnFragmentInteractionListener mListener;
|
||||
@@ -50,7 +54,6 @@ public class ScheduleFragment extends Fragment implements WeekView.EventClickLis
|
||||
*
|
||||
* @return A new instance of fragment ScheduleFragment.
|
||||
*/
|
||||
// TODO: Rename and change types and number of parameters
|
||||
public static ScheduleFragment newInstance() {
|
||||
ScheduleFragment fragment = new ScheduleFragment();
|
||||
Bundle args = new Bundle();
|
||||
|
||||
@@ -31,7 +31,6 @@ public class ModDetailFragment extends Fragment {
|
||||
private int mItemPos;
|
||||
|
||||
private OnModuleDetailFragmentInteractionListener mListener;
|
||||
private Logger log = new Logger(this);
|
||||
|
||||
public ModDetailFragment() {
|
||||
// Required empty public constructor
|
||||
@@ -50,7 +49,6 @@ public class ModDetailFragment extends Fragment {
|
||||
Bundle args = new Bundle();
|
||||
args.putInt(ARG_POSITION, itemPosition);
|
||||
fragment.setArguments(args);
|
||||
Log.d("ModDetailFragment", "newInstance");
|
||||
return fragment;
|
||||
}
|
||||
|
||||
@@ -60,14 +58,12 @@ public class ModDetailFragment extends Fragment {
|
||||
if (getArguments() != null) {
|
||||
mItemPos = getArguments().getInt(ARG_POSITION);
|
||||
}
|
||||
log.d("on create");
|
||||
}
|
||||
|
||||
@Override
|
||||
public View onCreateView(@NonNull LayoutInflater inflater, ViewGroup container,
|
||||
Bundle savedInstanceState) {
|
||||
// Inflate the layout for this fragment
|
||||
log.d("on create view");
|
||||
View v = inflater.inflate(R.layout.fragment_mod_detail, container, false);
|
||||
|
||||
ViewPager vpPager = v.findViewById(R.id.vpPager);
|
||||
|
||||
@@ -27,7 +27,6 @@ public class ModDetailOverviewFragment extends Fragment {
|
||||
// TODO: Rename parameter arguments, choose names that match
|
||||
// the fragment initialization parameters, e.g. ARG_ITEM_NUMBER
|
||||
private static final String ARG_POSITION = "itemPosition";
|
||||
private static Logger slog = new Logger(ModDetailOverviewFragment.class);
|
||||
|
||||
// TODO: Rename and change types of parameters
|
||||
private int mItemPos;
|
||||
@@ -53,14 +52,12 @@ public class ModDetailOverviewFragment extends Fragment {
|
||||
Bundle args = new Bundle();
|
||||
args.putInt(ARG_POSITION, itemPosition);
|
||||
fragment.setArguments(args);
|
||||
slog.d("new Instance");
|
||||
return fragment;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onCreate(Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
log.d("on create");
|
||||
if (getArguments() != null) {
|
||||
mItemPos = getArguments().getInt(ARG_POSITION);
|
||||
}
|
||||
@@ -70,7 +67,6 @@ public class ModDetailOverviewFragment extends Fragment {
|
||||
public View onCreateView(@NonNull LayoutInflater inflater, ViewGroup container,
|
||||
Bundle savedInstanceState) {
|
||||
// Inflate the layout for this fragment
|
||||
log.d("on create");
|
||||
View view = inflater.inflate(R.layout.fragment_mod_detail_overview, container, false);
|
||||
// Set the adapter
|
||||
Context context = view.getContext();
|
||||
|
||||
Reference in New Issue
Block a user