Foldingcell not working on Fragment
Haawmed opened this issue · 1 comments
Haawmed commented
I tried to use the Folding-cell on my Fragment , but it won t work ...
Here`s my xml :
<com.ramotion.foldingcell.FoldingCell
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/folding_cell"
android:layout_width="0dp"
android:layout_height="wrap_content"
tools:layout_editor_absoluteY="75dp"
tools:layout_editor_absoluteX="8dp">
</com.ramotion.foldingcell.FoldingCell>
Here is my Fragment Java Class :
@OverRide
public View onCreateView(LayoutInflater inflater, ViewGroup container,
Bundle savedInstanceState) {
View view = inflater.inflate(R.layout.fragment_orders_layout,container,false);
final FoldingCell fc = (FoldingCell) view.findViewById(R.id.folding_cell);
fc.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
fc.toggle(false);
}
});
return view;
}
I`d be glad to use help..
Tnx..
Ahsan221B commented
Hey! Are you sure it doesn't work on Fragments? I am going to integrate it next so I thought I should better ask you first.