mirror of
https://github.com/KokaKiwi/BarInsta
synced 2024-10-31 20:27:30 +00:00
Fix names of the gen. sources due to file renames
This commit is contained in:
parent
74f2b6f268
commit
1fe721010d
@ -15,7 +15,7 @@ import androidx.navigation.ui.NavigationUI;
|
|||||||
|
|
||||||
import awais.instagrabber.R;
|
import awais.instagrabber.R;
|
||||||
import awais.instagrabber.databinding.ActivityDirectMessagesBinding;
|
import awais.instagrabber.databinding.ActivityDirectMessagesBinding;
|
||||||
import awais.instagrabber.fragments.directmessages.DirectMessagesThreadFragmentArgs;
|
import awais.instagrabber.fragments.directmessages.DirectMessageThreadFragmentArgs;
|
||||||
|
|
||||||
public class DirectMessagesActivity extends BaseLanguageActivity implements NavController.OnDestinationChangedListener {
|
public class DirectMessagesActivity extends BaseLanguageActivity implements NavController.OnDestinationChangedListener {
|
||||||
|
|
||||||
@ -51,7 +51,7 @@ public class DirectMessagesActivity extends BaseLanguageActivity implements NavC
|
|||||||
if (arguments == null) {
|
if (arguments == null) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
final String title = DirectMessagesThreadFragmentArgs.fromBundle(arguments).getTitle();
|
final String title = DirectMessageThreadFragmentArgs.fromBundle(arguments).getTitle();
|
||||||
setToolbarTitle(title);
|
setToolbarTitle(title);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -96,7 +96,7 @@ public class DirectMessageInboxFragment extends Fragment implements SwipeRefresh
|
|||||||
layoutManager = new LinearLayoutManager(requireContext());
|
layoutManager = new LinearLayoutManager(requireContext());
|
||||||
inboxList.setLayoutManager(layoutManager);
|
inboxList.setLayoutManager(layoutManager);
|
||||||
final DirectMessageInboxAdapter inboxAdapter = new DirectMessageInboxAdapter(inboxThreadModel -> {
|
final DirectMessageInboxAdapter inboxAdapter = new DirectMessageInboxAdapter(inboxThreadModel -> {
|
||||||
final NavDirections action = DirectMessagesInboxFragmentDirections.actionDMInboxFragmentToDMThreadFragment(inboxThreadModel.getThreadId(), inboxThreadModel.getThreadTitle());
|
final NavDirections action = DirectMessageInboxFragmentDirections.actionDMInboxFragmentToDMThreadFragment(inboxThreadModel.getThreadId(), inboxThreadModel.getThreadTitle());
|
||||||
NavHostFragment.findNavController(this).navigate(action);
|
NavHostFragment.findNavController(this).navigate(action);
|
||||||
});
|
});
|
||||||
inboxList.setAdapter(inboxAdapter);
|
inboxList.setAdapter(inboxAdapter);
|
||||||
|
@ -160,7 +160,7 @@ public class DirectMessageThreadFragment extends Fragment {
|
|||||||
if (getArguments() == null) {
|
if (getArguments() == null) {
|
||||||
return root;
|
return root;
|
||||||
}
|
}
|
||||||
threadId = DirectMessagesThreadFragmentArgs.fromBundle(getArguments()).getThreadId();
|
threadId = DirectMessageThreadFragmentArgs.fromBundle(getArguments()).getThreadId();
|
||||||
binding.swipeRefreshLayout.setEnabled(false);
|
binding.swipeRefreshLayout.setEnabled(false);
|
||||||
messageList = binding.messageList;
|
messageList = binding.messageList;
|
||||||
messageList.setHasFixedSize(true);
|
messageList.setHasFixedSize(true);
|
||||||
|
Loading…
Reference in New Issue
Block a user