abhirup-patra
abhirup-patra
> One possible solution is locking and unlocking SlidrInterface within OnTouchListener (lock on ACTION_DOWN and unlock on ACTION_CANCEL) of adapter item's view (ViewHolder's or Fragment's root view). this doesnt seem...
> It worked for me. You may show your code. Ok it worked. but for the first time it doesnt unlock. only when i have clicked outside the pager once...
java.lang.RuntimeException: Cannot create an instance of class com.getstream.sdk.chat.viewmodel.ChannelListViewModel i am getting this error whenever i try to assign viewmodel
i am using a channelListFragment where inside onCreateView i am assigning the viewModel private ChannelListViewModel viewModel; public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { //.... viewModel = new ViewModelProvider(this).get(ChannelListViewModel.class);...
it previously worked alright when i used the sdk version 4.0.13 after upgrading to 4.2.10 beta i am facing this issue
I am facing same problem with the channel activity as well with the message activity. there also i am facing problem with the view model E/AndroidRuntime: FATAL EXCEPTION: main Process:...
ChannelViewModelFactory factory = new ChannelViewModelFactory(getApplication(), channelType, channelId); viewModel = new ViewModelProvider(this, factory).get(ChannelViewModel.class); this is how i am initialising
for your reference i am attaching the stack trace with the errors please have a look. 2020-06-09 14:39:12.699 13674-13674/qqq.com E/AndroidRuntime: FATAL EXCEPTION: main Process: abentra.com, PID: 13674 java.lang.RuntimeException: Unable to...
```java public static void clientInitialization(String id, String username,String token,String image,Context context) { // normally you would call init in your Application class and not the activity /* Chat chat =...