Click here to Skip to main content
15,890,670 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello,
How can I write code for clicking on a button that it is loaded in a fragment?
The code for fragment:
FragmentManager fm=getSupportFragmentManager();
       android.support.v4.app.FragmentTransaction ft=fm.beginTransaction();
       ft.add(R.id.frame,new Directory());
       ft.commit();

I want to Access clicking on a button in Directory!

What I have tried:

clicking on a button that it is loaded in a fragment
Posted
Updated 2-Sep-16 22:59pm

1 solution

 
Share this answer
 

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