Skip to content

Conversation

@mikepenz
Copy link
Owner

@mikepenz mikepenz commented Feb 9, 2025

Officially mark view-based UI as deprecated. In favor of the compose based UI.

Rework sample app to prioritize compose based UI and enhance it.

- move sample app classes to kotlin source folder
- update to kotlinX serialization 1.8.0
- cleanup
<activity
android:name="com.mikepenz.aboutlibraries.sample.ComposeActivity"
android:exported="true"
android:label="@string/app_name"
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Redundant label can be removed

android:theme="@style/SampleApp.DayNight" />
android:name="com.mikepenz.aboutlibraries.sample.FragmentActivity"
android:exported="false"
android:label="@string/app_name"
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Redundant label can be removed

android:theme="@style/SampleApp.DayNight" />
android:name="com.mikepenz.aboutlibraries.sample.ExtendActivity"
android:exported="false"
android:label="@string/app_name"
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Redundant label can be removed

android:theme="@style/SampleApp.DayNight" />
android:name="com.mikepenz.aboutlibraries.sample.CustomSortActivity"
android:exported="false"
android:label="@string/app_name"
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Redundant label can be removed

import androidx.compose.foundation.layout.windowInsetsPadding
import androidx.compose.foundation.rememberScrollState
import androidx.compose.foundation.verticalScroll
import androidx.compose.material.BottomDrawer
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Using a material import while also using the material3 library

import androidx.compose.foundation.rememberScrollState
import androidx.compose.foundation.verticalScroll
import androidx.compose.material.BottomDrawer
import androidx.compose.material.BottomDrawerValue
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Using a material import while also using the material3 library

import androidx.compose.foundation.verticalScroll
import androidx.compose.material.BottomDrawer
import androidx.compose.material.BottomDrawerValue
import androidx.compose.material.Switch
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Using a material import while also using the material3 library

import androidx.compose.material.icons.filled.Menu
import androidx.compose.material.icons.filled.Person
import androidx.compose.material.icons.filled.Settings
import androidx.compose.material.rememberBottomDrawerState
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Using a material import while also using the material3 library

@mikepenz mikepenz merged commit 8d25d0e into develop Feb 9, 2025
3 checks passed
@mikepenz mikepenz deleted the feature/deprecate_view_ui branch February 9, 2025 10:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants