|
2 | 2 |
|
3 | 3 | import android.content.Context;
|
4 | 4 | import android.os.Bundle;
|
5 |
| -import android.util.Log; |
6 | 5 | import android.view.LayoutInflater;
|
7 | 6 | import android.view.View;
|
8 | 7 | import android.view.ViewGroup;
|
|
26 | 25 | import fr.free.nrw.commons.navtab.NavTab;
|
27 | 26 | import java.util.ArrayList;
|
28 | 27 | import java.util.Iterator;
|
| 28 | +import timber.log.Timber; |
29 | 29 |
|
30 | 30 | public class BookmarkListRootFragment extends CommonsDaggerSupportFragment implements
|
31 | 31 | FragmentManager.OnBackStackChangedListener,
|
@@ -136,7 +136,7 @@ public void onAttach(final Context context) {
|
136 | 136 |
|
137 | 137 | @Override
|
138 | 138 | public void onMediaClicked(int position) {
|
139 |
| - Log.d("deneme8", "on media clicked"); |
| 139 | + Timber.tag("deneme8").d("on media clicked"); |
140 | 140 | /*container.setVisibility(View.VISIBLE);
|
141 | 141 | ((BookmarkFragment)getParentFragment()).tabLayout.setVisibility(View.GONE);
|
142 | 142 | mediaDetails = new MediaDetailPagerFragment(false, true, position);
|
@@ -244,7 +244,7 @@ void moveToContributionsFragment() {
|
244 | 244 |
|
245 | 245 | @Override
|
246 | 246 | public void onItemClick(AdapterView<?> parent, View view, int position, long id) {
|
247 |
| - Log.d("deneme8", "on media clicked"); |
| 247 | + Timber.tag("deneme8").d("on media clicked"); |
248 | 248 | binding.exploreContainer.setVisibility(View.VISIBLE);
|
249 | 249 | ((BookmarkFragment) getParentFragment()).binding.tabLayout.setVisibility(View.GONE);
|
250 | 250 | mediaDetails = MediaDetailPagerFragment.newInstance(false, true);
|
|
0 commit comments