What i am stuck in getting arguments of List files and making it readable, but before that removing the extra characters from the name of the file using .replace function.
List<String> files = (List<String>) getArguments().getSerializable("file");
assert files != null;
fileName = files.get(0);//String fileName
fileName = fileName.replace("[", "");
fileName = fileName.replace("]", "");
remotePDFViewPager = new RemotePDFViewPager(getActivity(),
APIClient.FILE_URL + fileName, this);
pdfViewLinearLayout.setBackgroundColor(Color.BLACK);