Android Fragments Forceclose Error?
<p>While Implementing fragment i am getting the force close i am not getting what is wrong in my code. I am getting below errors in my logcat. Can you help me to fix this error.</p>

<pre><code>01-30 18:46:36.167: D/AndroidRuntime(3860): Shutting down VM
01-30 18:46:36.167: W/dalvikvm(3860): threadid=1: thread exiting with uncaught exception (group=0x409db1f8)
01-30 18:46:36.177: E/AndroidRuntime(3860): FATAL EXCEPTION: main
01-30 18:46:36.177: E/AndroidRuntime(3860): android.view.InflateException: Binary XML file line #23: Error inflating class fragment
01-30 18:46:36.177: E/AndroidRuntime(3860):     at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:697)
01-30 18:46:36.177: E/AndroidRuntime(3860):     at android.view.LayoutInflater.rInflate(LayoutInflater.java:739)
01-30 18:46:36.177: E/AndroidRuntime(3860):     at android.view.LayoutInflater.inflate(LayoutInflater.java:489)
01-30 18:46:36.177: E/AndroidRuntime(3860):     at android.view.LayoutInflater.inflate(LayoutInflater.java:396)
01-30 18:46:36.177: E/AndroidRuntime(3860):     at android.view.LayoutInflater.inflate(LayoutInflater.java:352)
01-30 18:46:36.177: E/AndroidRuntime(3860):     at com.uwbt.fragments.SettingsMainActivityFragment.onCreateView(SettingsMainActivityFragment.java:25)
01-30 18:46:36.177: E/AndroidRuntime(3860):     at android.support.v4.app.Fragment.performCreateView(Fragment.java:1460)
01-30 18:46:36.177: E/AndroidRuntime(3860):     at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:911)
01-30 18:46:36.177: E/AndroidRuntime(3860):     at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1088)
01-30 18:46:36.177: E/AndroidRuntime(3860):     at android.support.v4.app.BackStackRecord.run(BackStackRecord.java:682)
01-30 18:46:36.177: E/AndroidRuntime(3860):     at android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1444)
01-30 18:46:36.177: E/AndroidRuntime(3860):     at android.support.v4.app.FragmentManagerImpl$1.run(FragmentManager.java:429)
01-30 18:46:36.177: E/AndroidRuntime(3860):     at android.os.Handler.handleCallback(Handler.java:605)
01-30 18:46:36.177: E/AndroidRuntime(3860):     at android.os.Handler.dispatchMessage(Handler.java:92)
01-30 18:46:36.177: E/AndroidRuntime(3860):     at android.os.Looper.loop(Looper.java:137)
01-30 18:46:36.177: E/AndroidRuntime(3860):     at android.app.ActivityThread.main(ActivityThread.java:4424)
01-30 18:46:36.177: E/AndroidRuntime(3860):     at java.lang.reflect.Method.invokeNative(Native Method)
01-30 18:46:36.177: E/AndroidRuntime(3860):     at java.lang.reflect.Method.invoke(Method.java:511)
01-30 18:46:36.177: E/AndroidRuntime(3860):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
01-30 18:46:36.177: E/AndroidRuntime(3860):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
01-30 18:46:36.177: E/AndroidRuntime(3860):     at dalvik.system.NativeStart.main(Native Method)
01-30 18:46:36.177: E/AndroidRuntime(3860): Caused by: java.lang.ClassCastException: com.uwbt.ui.HomeActivity@410490f8 must implement OnHeadlineSelectedListener
01-30 18:46:36.177: E/AndroidRuntime(3860):     at com.uwbt.fragments.UWBTListFragment.onAttach(UWBTListFragment.java:61)
01-30 18:46:36.177: E/AndroidRuntime(3860):     at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:867)
01-30 18:46:36.177: E/AndroidRuntime(3860):     at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1066)
01-30 18:46:36.177: E/AndroidRuntime(3860):     at android.support.v4.app.FragmentManagerImpl.addFragment(FragmentManager.java:1168)
01-30 18:46:36.177: E/AndroidRuntime(3860):     at android.support.v4.app.FragmentActivity.onCreateView(FragmentActivity.java:280)
01-30 18:46:36.177: E/AndroidRuntime(3860):     at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:669)
01-30 18:46:36.177: E/AndroidRuntime(3860):     ... 20 more
01-30 18:46:36.727: I/dalvikvm(3860): threadid=3: reacting to signal 3
01-30 18:46:36.727: I/dalvikvm(3860): Wrote stack traces to '/data/anr/traces.txt'
</code></pre>
