Sha256: 6e9c5aceec3c60e0a2345b0bcaa87f72f2b7aa831aa5fe2d242aa280fc24d2e6

Contents?: true

Size: 498 Bytes

Versions: 5

Compression:

Stored size: 498 Bytes

Contents

package <%= package_name %>.features.web

import android.view.View
import <%= package_name %>.base.NavDestination
import dev.hotwire.turbo.fragments.TurboWebFragment
import dev.hotwire.turbo.nav.TurboNavGraphDestination
import <%= package_name %>.R

@TurboNavGraphDestination(uri = "turbo://fragment/web")
open class WebFragment : TurboWebFragment(), NavDestination {
    override fun createErrorView(statusCode: Int): View {
        return layoutInflater.inflate(R.layout.error_web, null)
    }
}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
turbo-native-initializer-0.0.10 lib/turbo_native_initializer/templates/android_tabs/app/src/main/java/dev/hotwire/turbo/turbonativeproject/features/web/WebFragment.kt.tt
turbo-native-initializer-0.0.9 lib/turbo_native_initializer/templates/android_tabs/app/src/main/java/dev/hotwire/turbo/turbonativeproject/features/web/WebFragment.kt.tt
turbo-native-initializer-0.0.8 lib/turbo_native_initializer/templates/android_tabs/app/src/main/java/dev/hotwire/turbo/turbonativeproject/features/web/WebFragment.kt.tt
turbo-native-initializer-0.0.7 lib/turbo_native_initializer/templates/android_tabs/app/src/main/java/dev/hotwire/turbo/turbonativeproject/features/web/WebFragment.kt.tt
turbo-native-initializer-0.0.6 lib/turbo_native_initializer/templates/android_tabs/app/src/main/java/dev/hotwire/turbo/turbonativeproject/features/web/WebFragment.kt.tt