Click here to Skip to main content
15,878,113 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Im not sure whether this is the part that cause the app to stop but i cant identify which part of it caused the error

What I have tried:

   public void onFileClicked(File file) {
       if (file.isDirectory()) {
           Bundle bundle = new Bundle();
           bundle.putString("path", file.getAbsolutePath());
           InternalFragment internalFragment = new InternalFragment();
           getChildFragmentManager().beginTransaction().replace(, internalFragment).addToBackStack(null).commit();
           try {
               FileOpener.openFile(getContext(), file);
           } catch (IOException e) {
Updated 20-Dec-22 7:35am
wseng 27-Dec-22 2:05am    
paste stacktrace here

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900