Skip to content

Instantly share code, notes, and snippets.

View yatiksihag01's full-sized avatar
๐Ÿš€
Deploying dreams, debugging reality.

Yatik yatiksihag01

๐Ÿš€
Deploying dreams, debugging reality.
View GitHub Profile
@yatiksihag01
yatiksihag01 / sentiment.ipynb
Last active March 17, 2025 04:29
sentiment.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
package com.meproject.newsstream.data.remote.dto.mediator
import androidx.paging.ExperimentalPagingApi
import androidx.paging.LoadType
import androidx.paging.PagingState
import androidx.paging.RemoteMediator
import androidx.room.withTransaction
import com.meproject.newsstream.data.local.NewsDatabase
import com.meproject.newsstream.data.local.explore.AllNewsItemEntity
import com.meproject.newsstream.data.mappers.toAllNewsItemEntity
public class MainActivity extends AppCompatActivity {
private ActivityMainBinding binding;
ActivityResultLauncher<String> mChoosePhoto;
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
binding = ActivityMainBinding.inflate(getLayoutInflater());
setContentView(binding.getRoot());