How to use shared element transition between FirstFragment (including RecyclerView) and SecondFragment
问题 I could implement shared element transition between two fragments WITHOUT RECYCLERVIEW!!! This is FirstFragment: public class FirstFragment extends Fragment { ImageView img_small; LinearLayout layout_ofc_cities; LinearLayout layout; public FirstFragment() { // Required empty public constructor } @Override public void onCreate(@Nullable Bundle savedInstanceState) { super.onCreate(savedInstanceState); } @Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle