Commit c3eb1c48 authored by Varun Patil's avatar Varun Patil

Remove dead code from ExploreFragment

parent 0011cbf8
...@@ -190,14 +190,4 @@ public class ExploreFragment extends Fragment { ...@@ -190,14 +190,4 @@ public class ExploreFragment extends Fragment {
usersRecyclerView.setAdapter(userAdapter); usersRecyclerView.setAdapter(userAdapter);
usersRecyclerView.setLayoutManager(new LinearLayoutManager(getContext())); usersRecyclerView.setLayoutManager(new LinearLayoutManager(getContext()));
} }
public void updateFragment(Fragment fragment, Bundle bundle) {
MainActivity.hideKeyboard(getActivity());
fragment.setArguments(bundle);
FragmentTransaction ft = getActivity().getSupportFragmentManager().beginTransaction();
ft.setCustomAnimations(R.anim.slide_in_left, R.anim.slide_out_left, R.anim.slide_in_right, R.anim.slide_out_right);
ft.replace(R.id.framelayout_for_fragment, fragment, fragment.getTag());
ft.addToBackStack(fragment.getTag());
ft.commit();
}
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment