udacity / Android_Me

App that lets you style your own Android! This uses Fragments to create a flexible and responsive UI.
259 stars 1k forks source link

fragment issue (out of course content) #78

Open AbdelrahmanHamoda opened 4 years ago

AbdelrahmanHamoda commented 4 years ago

I have an app , I tried to apply what I learned recently , I already created and displayed a fragment in my main activity , my issue as following : I have implemented Button in my fragment layout I want to make use of this button to close fragment , I already tried to use interface to establish the communication between fragment and its host activity , But an error raised , and I don't know why , anyone can help please ? 1 2 3